Indicador

NeuPortal - Forecast LevelsDraws a pre-computed probabilistic price forecast on the chart: a core-50% / 80% cone projected forward, the median path, an entry zone, an invalidation level, two reference levels, Fibonacci retracements, support/resistance and three EMAs.
This is a RENDERER, not a signal generator. You paste the numbers — produced by your own model or by hand — into the settings, and the script draws them consistently. Nothing is computed from price except the moving averages.
Why it is built this way: a forecast written down with an explicit invalidation and a stated probability band can be scored afterwards. A drawing without those cannot.
Inputs are grouped:
1) Forecast — central (median), core 50% band, wide 80% band, projection length
2) Position — bias (long / short / neutral), entry zone, invalidation, two reference levels
3) Structure — support, resistance, five Fibonacci retracements
4) Moving averages — three EMAs, bundled in to save an indicator slot
Educational content — not financial advice. Indicador

LIQS and FIBS Scalp SystemOverview
The "LIQS and FIBS Scalp System" is an advanced Smart Money Concepts (SMC) and Price Action indicator designed for traders seeking high-probability scalping and day trading setups. Instead of relying on lagging indicators, this system dynamically maps critical liquidity sweeps, structure shifts, and optimal trade entry zones based entirely on pure price action.
Key Features
HTF Market Structure Bias (No EMA Lag):
The core of the system determines the main trend bias by tracking the most recent Break of Structure (BOS) or Change of Character (CHoCH) on your selected Higher Timeframe (HTF). If the HTF just broke a swing high, your bias is firmly Bullish. If it broke a swing low, your bias is Bearish. This ensures you are always trading in alignment with true institutional market structure, not a delayed moving average.
HTF Sweeps & Reversals:
Automatically identifies liquidity sweeps at Higher Timeframe highs and lows. It monitors price action around these key historical pivot levels and highlights potential reversal pinbars right at the sweep zones.
LTF BOS & CHoCH Logic:
Detects micro Break of Structure (BOS) and Change of Character (CHoCH) patterns to spot short-term momentum shifts in real-time, helping you catch the very beginning of a new leg.
Deep Fibonacci Setups & Runner Targets:
Following a valid CHoCH, the indicator automatically draws Fibonacci retracement zones (0.318 - 0.618) representing optimal entry points. It dynamically projects logical Stop Loss zones and extends up to Target 6 for runners to capture massive long-term trends:
Target 1 & Target 2 for short-term scalps.
Target 3 & Target 4 (3.618 - 4.236 extensions) for day trades.
Target 5 & Target 6 (5.618 - 6.854 extensions) to hold your runners and ride extreme trend continuation.
A-Plus Setup Filter & VWAP:
To protect you from fake breakouts and low-probability trades, the system validates every entry.
Pro-trend setups that align with both the HTF Structure Bias and the VWAP are highlighted with colored entry and target boxes.
Counter-trend or low-probability setups are visually muted (grayed out) so you can easily ignore them.
Built-in alerts notify you only when a micro CHoCH perfectly aligns with the HTF trend direction!
How to Use
Wait for price to sweep an HTF liquidity level, watch for a valid CHoCH in the opposite direction, and set your limit orders inside the highlighted 0.318 - 0.618 Fibonacci reaction box. Trust the colored boxes (A-Plus setups) and ignore the gray ones. Take partial profits at T1 and T2, then leave runners for the deeper T3 to T6 targets!
Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research, use strict risk management, and perform thorough backtesting before trading with real funds. Indicador

Advanced Fibonacci Golden Zone [HexaTrades]Advanced Fibonacci Golden Zone automatically finds the market's significant swing legs and projects the Fibonacci Golden Zone, the 0.5 – 0.618 retracement pocket of the latest leg. That band is where trend-continuation entries are classically hunted. No manual fib drawing: the script detects the swing, anchors the retracement correctly for both directions, draws the zone the moment the swing confirms, manages the setup's whole lifecycle, and drives a duplicate-free alert stream.
⭐️How it works
True late-zone detection:
When a swing confirms, the script scans every bar from the actual pivot through the confirmation bar (wicks or closes, per Zone Touch Source). If the price has already reached the zone's near edge anywhere in that window, the zone is late and is skipped; no zone is ever painted behind a reaction that already happened. Strict rule: exactly touching the edge counts as late.
Superseded setups :
A skipped candidate retires the previously active setup immediately: status “Superseded”, zone frozen/faded, and total silence no false “Invalidated” alert (that one is reserved for setups price actually broke).
Invalidation frozen ATR buffer:
A setup dies when a bar closes beyond the protective swing by more than the Invalidation Buffer (× ATR). The buffer is measured once, at setup creation, and the invalidation price stays fixed for the setup's lifetime; later ATR changes can't move it. Dead zones gray out instantly and can never alert again; a broken leg is “poisoned” so its later extensions can't spawn a fresh setup.
Zone anchoring retracements vs projections
Bullish (up-leg): Retracement anchored at 0.0 at the high, 1.0 at the low → the 0.5–0.618 band sits below price as potential support.
Bearish (down-leg) : Mirror-anchored → the 0.5–0.618 band sits above the price as potential resistance.
Retracements (0–1.0) and continuation projections (1.272× / 1.618× of the impulse, beyond the extreme) are computed by separate functions and labelled separately projections are targets, not retracement ratios.
True late-zone detection :
When a swing confirms, the script scans every bar from the actual pivot through the confirmation bar (wicks or closes, per Zone Touch Source). If the price has already reached the zone's near edge anywhere in that window, the zone is late and is skipped; no zone is ever painted behind a reaction that already happened. Strict rule: exactly touching the edge counts as late.
Superseded setups:
A skipped candidate retires the previously active setup immediately: status “Superseded”, zone frozen/faded, and total silence no false “Invalidated” alert (that one is reserved for setups price actually broke).
Invalidation frozen ATR buffer:
A setup dies when a bar closes beyond the protective swing by more than the Invalidation Buffer (× ATR). The buffer is measured once, at setup creation, and the invalidation price stays fixed for the setup's lifetime; later ATR changes can't move it. Dead zones gray out instantly and can never alert again; a broken leg is “poisoned” so its later extensions can't spawn a fresh setup.
⭐️ Features
- Automatic Golden Zone (default 0.5 – 0.618, both ratios configurable)
- Optional fib levels: retracements 0 · 0.236 · 0.382 · 0.5 · 0.618 · 0.786 · 1.0 + separately labelled 1.272× / 1.618× projections
- ZigZag + HH / HL / LH / LL structure labels with live structure bias
- Historical zones stay frozen & softened; optional “One zone per leg” replaces same-leg drafts in place (off by default)
- Zone lifecycle: Waiting → Inside Zone → Rejected / Broke Out → Invalidated / Superseded dead zones gray out and go permanently silent
⭐️How to use it
- Wait for a fresh zone in the direction of the structure (HH+HL → longs, LH+LL → shorts).
- Let price come into the zone covered by the “Price Enters Golden Zone” .
- Look for the rejection: a candle that gets into the zone and closes back out in the trend direction.
- Targets & invalidation: Target 1 = the 0.0 level (the impulse extreme), Target 2 = the 1.272× projection, Target 3 = the 1.618× projection; status “Invalidated” (close beyond the protective swing + buffer) is the classical exit.
⭐️Alert
1 · Golden Zone Invalidated: close beyond the protective swing + frozen ATR buffer — kills the setup
2 · 1.618× Projection Reached: continuation target hit (also completes 1.272× if reached directly)
3 · 1.272× Projection Reached: continuation target hit
4 · Bullish / Bearish Rejection: candle gets into the zone, closes back out in trend direction (completes the entry latch too)
5 · Zone Breakout: price closes straight through the zone
6 · Price Enters Golden Zone: first touch of the zone
No zone-interaction alert can fire on the candle that creates a setup; signals are eligible from the following confirmed candle.
Bar-close confirmation is enforced in code (barstate.isconfirmed is part of every alert condition); alerts cannot trigger intrabar regardless of the frequency you pick. Still select “Once Per Bar Close”.
Advanced Fibonacci Golden Zone combines confirmed market structure, automatic Fibonacci mapping and complete setup management in one tool. It helps traders identify fresh retracement opportunities without manually drawing Fibonacci levels while keeping invalidation, projections and alerts consistent. Use it alongside trend context, price action and proper risk management—not as a standalone entry signal.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
Wedge pattern detector indicator is for educational and analytical purposes only. It is not financial advice. Trading involves risk. Always use proper risk management and combine this indicator with your own analysis before taking any trade.
Indicador

Dealing Range by EonMetricsDealing Range by EonMetrics
WHAT IT DOES
This indicator draws one box around the exact price range you're currently trading inside — from the most recent significant low up to the most recent significant high (or vice versa). It then splits that box into two halves at the exact middle: the top half is labeled "Premium" (price here is relatively expensive — a place to look for selling opportunities) and the bottom half is labeled "Discount" (price here is relatively cheap — a place to look for buying opportunities). The exact halfway line is called "Equilibrium" — a common point where price pauses or reverses.
Instead of waiting for both ends of the range to fully finish forming (which most similar tools do, and which makes the box lag behind price), one end of this box is locked to the last confirmed turning point, while the other end keeps following the live price in real time. This means the box always contains the current candle and never leaves it stranded outside — you're never looking at a stale, outdated range.
HOW TO ACTUALLY USE IT (STEP BY STEP)
1. Decide which side you want to trade, then wait for price to come to you — don't chase it in the middle of the box.
- Looking to buy (go long)? Wait for price to fall all the way down into the green Discount zone before considering an entry.
- Looking to sell (go short)? Wait for price to rise all the way up into the red Premium zone before considering an entry.
2. Once price reaches the zone you're waiting for, look for an actual trigger before entering — a reversal candle, a price gap, a small break of structure — rather than buying or selling the instant price merely touches the colored area.
3. Treat the Equilibrium (halfway) line as a "fair value" reference — price often reacts around this line before deciding its next move, so it can act as a first target or a place price pauses on the way to the far zone.
4. Watch the two dots marking the range's boundaries (0 = the low, 1 = the high) — these are the exact swing points the box is built from.
5. The box updates and can shift over time as new swings form — that's expected behavior, not a bug; it means the range is following the market's current structure.
EVERY SETTING EXPLAINED
Range Detection group
- Swing Length — how many candles on each side must be smaller/bigger for a point to count as a real turning point. A bigger number only catches major, important swings (slower-updating, bigger ranges); a smaller number catches minor ones (faster-updating, smaller ranges).
- Lock Range Until Band Break — when ON (recommended), the box stays fixed in place while price bounces around inside it, and only redraws once price actually breaks all the way out through the top or bottom. When OFF, the box updates every time a new turning point confirms, which reacts faster but can shift the box around more while you're watching it.
Visualization group
- Premium Zone — fill color of the top (expensive) half.
- Discount Zone — fill color of the bottom (cheap) half.
- Boundary Lines (0 / 1) — color of the lines marking the very top and bottom of the box.
- Show Equilibrium (50%) — turns the halfway line on or off.
- Equilibrium Color.
- Equilibrium Style — solid, dashed, or dotted line.
- Extend Right — stretches the box and lines all the way to the right edge of your chart. Turn off to have them stop at the current candle instead.
Swing Markers group
- Show Swing Points — turns on two small dots marking exactly where the box's high and low come from.
- High Swing (1) / Low Swing (0) — colors for those two dots.
Labels group
- Show Fib Levels (0 / 0.5 / 1) — labels the bottom of the box as "0", the middle as "0.5", and the top as "1" (standard reference numbers used to describe where price sits inside the range).
- Show Premium / Discount Labels — writes the words "Premium" and "Discount" inside each half.
- Show Prices — adds the actual price number next to the 0 / 0.5 / 1 labels.
- Label Position — puts the text labels on the right side (following the current candle) or the left side (where the range originally started).
- Label Text Color.
Indicador

Indicador

Indicador

Optimal Trade Entry + Silver Bullet [Quantum Algo]Optimal Trade Entry + Silver Bullet
====================================================
🔶 OVERVIEW
Optimal Trade Entry + Silver Bullet is an automated ICT-style Fibonacci retracement engine that combines the Optimal Trade Entry (OTE) concept with the three Silver Bullet time windows. The indicator confirms market structure through swing highs and swing lows, detects a break of structure, automatically anchors a Fibonacci grid to the impulse leg, and highlights the 61.8% to 79% retracement zone — the Optimal Trade Entry zone — as a gradient that intensifies toward the 70.5% sweet spot. Every zone tap is graded with a transparent confluence score built from time-of-day windows, fair value gaps, and liquidity sweeps.
The goal is simple: remove the two biggest sources of error in discretionary Optimal Trade Entry trading — anchoring the Fibonacci retracement to the wrong leg, and taking entries outside the hours when the model statistically performs.
🔶 WHAT IS THE OPTIMAL TRADE ENTRY ZONE?
The Optimal Trade Entry is a smart money concept describing the discount (in an uptrend) or premium (in a downtrend) portion of an impulse leg where institutional participants typically complete their entries after a trend has been confirmed. It is defined as the area between the 61.8% and 79% Fibonacci retracement of the most recent impulse, with the 70.5% level acting as the statistical sweet spot. Price retracing into this zone after a break of structure offers a defined-risk entry: the stop belongs beyond the origin of the leg, and the targets project into the extension levels beyond the impulse extreme.
🔶 WHAT ARE THE SILVER BULLET WINDOWS?
The Silver Bullet model restricts trading to three specific one-hour windows in New York time, when algorithmic price delivery is most likely to seek liquidity and fill fair value gaps:
- London Open window — 03:00 to 04:00
- New York Morning window — 10:00 to 11:00
- New York Afternoon window — 14:00 to 15:00
This indicator shades each window on intraday charts, labels the window open, and treats window activity as a scoring input: an Optimal Trade Entry tap that occurs inside an active window grades higher than one that occurs outside it.
🔶 WHY THIS SCRIPT IS ORIGINAL
1. Pivot-and-shift automatic anchoring. The Fibonacci grid is never drawn from arbitrary pivots and never requires manual anchoring. It appears only after price closes through a confirmed swing point — a genuine break of structure — and anchors to the true origin of the impulse leg.
2. Dynamic leg stretching. While the trend continues printing new highs or new lows, the grid stretches with the market in real time, so the retracement zone is always measured against the current, mathematically complete leg — not a stale one.
3. Time-based signal qualification. The Silver Bullet windows are not decorative background shading. They are wired directly into the signal engine and the grading model, which is what separates this tool from a standard Fibonacci retracement indicator.
4. Transparent confluence grading. Every signal receives a grade of A+, A, B, or C based on four observable, verifiable conditions: entry zone tap, active Silver Bullet window, directional fair value gap formed inside a window on the current leg, and a liquidity sweep at the leg origin (the anchor pivot running the stops beyond the pivot before it). Nothing is hidden, nothing is repainted, and nothing is curve-fit.
🔶 HOW IT WORKS
Market structure engine: Swing highs and swing lows are confirmed with a symmetric pivot lookback. A candle close above the last confirmed swing high shifts the engine bullish; a close below the last confirmed swing low shifts it bearish. All signals are evaluated on closed bars only, so entries do not repaint.
Fibonacci retracement grid: On each break of structure the impulse leg is measured from the anchor pivot to the running extreme. The script plots the origin (1.0), equilibrium (0.5), the entry zone borders (0.618 and 0.79), the sweet spot (0.705, dotted), the impulse extreme (0.0), and two target extensions (default -0.27 and -0.62).
Entry zone gradient: The zone between 0.618 and 0.79 renders as four stacked slices whose opacity increases toward the 0.705 sweet spot, giving an immediate visual read of where the highest-probability fill sits.
Fair value gap engine: Three-candle imbalances that clear a minimum size threshold (measured against average true range) are boxed on the chart. By default only gaps forming inside an active Silver Bullet window are drawn, and every gap grays out automatically once price mitigates it, keeping the chart clean.
Liquidity sweep detection: When the anchor pivot of a new leg trades through the pivot before it — sell-side liquidity taken before a bullish leg, or buy-side liquidity taken before a bearish leg — the setup is flagged as a sweep and grades higher.
Trade plan projection: When price taps the entry zone and passes the active filters, the script prints a graded signal marker plus Entry, Stop (beyond the leg origin with an average-true-range buffer), Target One, and Target Two, each labeled with its exact price.
Dashboard: A compact panel tracks directional bias, live retracement percentage, entry zone status, sweet spot price, the active Silver Bullet window, fair value gap confluence count, and liquidity sweep status at a glance.
🔶 HOW TO USE IT
1. Apply the indicator to an intraday chart. One-minute to fifteen-minute timeframes suit the Silver Bullet windows best; the Fibonacci engine itself works on any timeframe.
2. Wait for the dashboard bias to flip after a break of structure.
3. Let price retrace. The dashboard shows the live retracement percentage as price approaches the Optimal Trade Entry zone.
4. The strongest setups tap the gradient inside an active Silver Bullet window after a liquidity sweep, with a fair value gap in the direction of the leg — that is the A+ profile.
5. Use the printed Entry, Stop, and Target levels as reference geometry, then apply your own position sizing and risk management.
6. Tighten or relax the engine with the two signal filters: Require Active Silver Bullet Window and Require Fair Value Gap Confluence.
🔶 SETTINGS
- Swing Detection Length — pivot lookback controlling structure size; higher values track larger legs.
- Completed Setups To Keep, Fair Value Gaps To Keep, Trade Plans To Keep — cap how many historical drawings remain, so the chart stays clean and the auto-scale stays anchored to current price.
- Independent toggles for each Silver Bullet window, the Fibonacci grid, the zone gradient, equilibrium, targets, and the dashboard.
- Fully customizable colors and dashboard position.
🔶 ALERTS
- Bullish Optimal Trade Entry — price tapped the bullish zone and passed the active filters.
- Bearish Optimal Trade Entry — price tapped the bearish zone and passed the active filters.
- Silver Bullet Window Opened — one of the three windows just began.
🔶 FREQUENTLY ASKED QUESTIONS
Does the indicator repaint? Entries are evaluated on closed bars only. Swing pivots require confirmation by design, which introduces intentional lag but keeps historical signals fixed.
Which markets does it work on? Any symbol with candle data — cryptocurrency, forex, gold, indices, stocks, and futures. The Silver Bullet windows reference New York time regardless of your chart timezone.
Which timeframe is best? The Silver Bullet windows require an intraday chart (sixty minutes or below). The one-minute to fifteen-minute range is the classic application; the Optimal Trade Entry engine alone also functions on higher timeframes.
What does the grade mean? It is a count of observable confluences (zone tap, window, gap, sweep) — a transparency tool, not a win-rate prediction.
🔶 LIMITATIONS
Pivot confirmation is intentionally delayed by the swing length, so the engine describes confirmed structure rather than predicting it. Retracements can exceed the zone and invalidate the leg during strong counter-moves. Grades measure confluence, not probability of profit. No indicator replaces independent analysis.
🔶 DISCLAIMER
This script is provided strictly for educational and informational purposes. It is not financial advice, an investment recommendation, or a solicitation to buy or sell any financial instrument. Past behavior of any level, time window, or signal does not guarantee future results. Trading involves substantial risk. Always do your own research and manage risk independently. Indicador

Scalp The ReactScalp The React (STR) is an advanced, all-in-one market structure and liquidity mapping framework. Designed for scalpers, intraday traders, and swing traders, this indicator dynamically builds actionable "Reaction Zones," Fibonacci projection targets, and liquidity sweep setups based on real-time market structure breaks and session timings.
Instead of relying on static, manual drawings, STR automatically identifies structural pivots, determines the market bias, and projects forward-looking target zones to give you a complete roadmap of where the price is likely to react.
🌟 Core Features & Modules
1. Dynamic Fibonacci Setup Modes
The heart of STR is its adaptive Fibonacci projection engine. Depending on your trading style, you can choose how the indicator anchors its High/Low legs to draw the target zones.
Scalp Mode: A step-by-step approach. It waits for the current 0 or 1 boundaries of the active setup to be completely broken before anchoring a new Fibonacci leg.
Intraday Mode: Focuses purely on trend reversals. It maps new Fibonacci projection zones only when a Change of Character (CHoCH) occurs.
HTF (Higher Timeframe) Mode: Top-down analysis made easy. It grabs the exact High and Low of the previous Higher Timeframe candle (e.g., 4H) and projects intraday zones based on that HTF range.
Session Mode: Perfect for session-to-session liquidity traders. It automatically tracks the High and Low of specific trading sessions (Asia, London, New York). The moment a session ends, it instantly projects the Fibonacci scheme based on the current market bias. (Labels explicitly tell you if a level is the "Asia High" or "London Low").
First 4H Mode: An opening range breakout approach. It maps the High and Low of the day's first 4 hours (e.g., 03:00 - 07:00) and projects the roadmap for the rest of the day.
2. Target & Liquidity Zones
Whenever a new setup is confirmed, the indicator plots highly specific mathematical zones:
Magnetic Retest Level (0.5): The fair-value equilibrium of the anchor leg.
Reaction Zone (1.47 - 1.55): The primary Take Profit and reaction box.
External Reaction Zone (2.56 - 2.64): The extended macro target box.
Liquidity Sweep Box (-0.21 to -0.29): Placed exactly opposite to the breakout direction. If the price pushes into this zone and closes back inside the range, the indicator marks a precise Sweep (x) label, signaling a potential liquidity trap / reversal.
3. Market Structure Engine (BOS & CHoCH)
The script continuously scans for fractal highs and lows. It draws "Candidate" levels and waits for the price to break them (wick or body close based on your preference). Once broken, it permanently stamps the chart with BOS (Break of Structure) or CHoCH (Change of Character) labels and lines, keeping a clean historical record of the trend state.
4. Kinetic MA Trail & Bias Engine
To avoid plotting setups against the broader trend, the indicator uses a "Kinetic MA." This is a macro moving average that trails the price uniquely by filtering out noise using Supertrend and ATR logic.
When the price is above the Kinetic MA, the macro bias is Bullish.
When the price is below the Kinetic MA, the macro bias is Bearish.
Note: This internal bias is what dictates the direction of the Session and First 4H Fibonacci projections.
5. Advanced FVG / Breaker Engine
A built-in Fair Value Gap (FVG) and Breaker block extraction module.
Displays the last N unmitigated gaps.
Overlap Filter: Automatically hides overlapping FVGs to keep the chart incredibly clean.
Raid Detection: Marks an "x" inside the gap if the price aggressively wicks into it (a liquidity raid) but fails to close beyond it.
Supports mitigation filtering by Wick, Body Close, or Average line.
⚙️ How to Use It?
Select your Mode: If you trade the London/New York overlaps, set the Fib Mode to "Session". If you are a pure price-action scalper, set it to "Scalp" or "Intraday".
Follow the Liquidity: Look for setups where the price breaks structure, pulls back into the yellow Magnetic Level (0.5), or sweeps the Red Liquidity Box (-0.21 to -0.29) before targeting the Green Reaction Zones.
Align with the Kinetic MA: Use the glowing Kinetic MA band to stay on the right side of the macro trend.
⚠️ Disclaimer
For Educational Purposes Only:
The "Scalp The React" indicator and all its built-in features (including Fibonacci zones, market structure labels, moving averages, and FVG detection) are provided strictly for educational and informational purposes.
Not Financial Advice:
This script does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. Trading in financial markets (including cryptocurrencies, forex, stocks, and commodities) involves a high degree of risk and may not be suitable for all investors. You could lose some or all of your initial investment.
No Guarantee of Results:
Past performance of any trading system or methodology is not necessarily indicative of future results. The zones, labels, and signals generated by this script are based on mathematical formulas and historical price action; they do not predict the future.
User Responsibility:
By using this script, you acknowledge that you are solely responsible for your own trading decisions. Always conduct your own research (DYOR), practice strict risk management, and consult with a certified financial advisor before making any trading or investment decisions. The author of this script assumes no responsibility for any trading losses incurred. Indicador

Smart Money Fibonacci OTE Engine [ChartPrime]🔶 OVERVIEW
In the world of Smart Money Concepts (SMC), finding a "cheap" or "expensive" price is not enough—you need to find the Optimal Trade Entry (OTE). The Smart Money Fibonacci OTE Engine is an automated structural analysis tool that identifies trend shifts and projects institutional retracement zones in real-time.
Unlike traditional Fibonacci tools that require manual drawing, this engine detects Break of Structure (BOS) events and automatically anchors a Fibonacci grid to the most relevant swing points. It specifically highlights the OTE zone, where institutional buying or selling typically occurs after a trend confirmation.
🔶 CORE MECHANICS: AUTOMATED ANCHORING
The engine operates on a sophisticated "Pivot and Shift" logic:
Swing Detection: The script monitors price for structural Swing Highs and Swing Lows based on your chosen pivot length.
Fibonacci Direction Shift Recognition: A direction shift is confirmed when pivot price exceeds the previous Swing Pivot High (Higher High), and a down direction shift is confirmed when price drops below the previous Swing Pivot Low (Lower Low).
Dynamic Stretching: Once a direction is established, the Fibonacci grid "breathes" with the market. If the trend continues to make new highs or lows, the grid automatically stretches to include the new extension, ensuring your retracement levels are always mathematically accurate.
🔶 THE OPTIMAL TRADE ENTRY (OTE) ZONE
The OTE zone is the primary focus of this indicator. Based on ICT (Inner Circle Trader) concepts, the OTE represents the "sweet spot" of a retracement.
The Range: By default, the zone is plotted between the 0.618 and 0.786 Fibonacci levels.
Institutional Discount/Premium: In a bullish trend, price retreating into the OTE zone is considered "buying at a discount." In a bearish trend, a rally into the OTE is "selling at a premium."
Visual Clarity: The zone is highlighted with a colored box (teal for bull, red for bear), making it easy to identify exactly where to look for price action reversal signals.
🔶 KEY VISUAL FEATURES
Structure Labels: Automatically marks HH (Higher High) and LL (Lower Low) points with Break-of-Structure (BOS) lines.
Swing Diagonal: A dotted line connects the two anchor points of the Fibonacci grid, providing a clear visual representation of the current swing's slope and magnitude.
Extended Levels: Horizontal Fibonacci lines (0.236, 0.382, 0.5, etc.) are projected across the chart, with price-sensitive labels that update every tick.
Historical Mode: Toggle "Show Previous Fibs" to see where past OTE zones were respected, helping you backtest the current asset's adherence to Fibonacci levels.
🔶 INDICATOR INPUTS
Pivot Length: Adjust this to filter between micro-structure (short length) and macro-structure (long length).
OTE Upper/Lower Levels: Fully customizable boundaries for your entry zone.
Visual Styles: Change line styles (Solid, Dashed, Dotted) and colors for the grid, labels, and structure shifts to match your chart theme.
🔶 TRADING UTILITY
High-Probability Entries: Instead of "chasing" a breakout, wait for the Smart Money Fibonacci Engine to identify the higher high or lower low, then wait for price to return to the OTE box.
Confluence Tool: Use the OTE zone in conjunction with Order Blocks or Liquidity Sweeps. When an OTE zone aligns with a previously swept EQL or EQH, the probability of a reversal increases significantly.
Objective Profit Taking: Use the 0.0 (origin) and various extension levels as objective targets for scaling out of positions.
🔶 CONCLUSION
The Smart Money Fibonacci OTE Engine removes the subjectivity from drawing Fibonacci retracements. By automating the detection of market structure and highlighting the most statistically relevant entry zones, it allows traders to focus on execution rather than chart drawing. Indicador

Elliott Wave Scanner [MarkitTick]💡 An automated structural analysis tool engineered to detect, classify, and visualize complex market cycles based on classic wave progression principles. By scanning localized price extrema and passing them through a rigorous matrix of geometric and proportion-based filters, this indicator distills highly subjective chart analysis into objective, rule-based pattern recognition. Designed for traders who rely on structured market phases, the scanner not only maps five-wave impulses and three-wave corrections but also integrates dynamic risk-to-reward calculations, volume confirmation, and higher-timeframe alignment to evaluate the probabilistic quality of every structural sequence it identifies.
✨ Originality and Utility
Wave theory is traditionally plagued by subjectivity and observer bias, where two analysts might map entirely different structures on the same chart. The utility of this script lies in its strict, algorithmic standardization. It removes emotional interpretation by requiring market swings to conform to precise mathematical tolerances before a sequence is validated.
This tool distinguishes itself by moving beyond mere drawing utilities. It is a complete analytical environment that actively assesses the viability of a market structure. It calculates a predefined Risk-to-Reward (R:R) ratio, establishes a clear target, and sets a protective invalidation level for every valid formation. Furthermore, it incorporates confluence filters—such as market structure midlines and higher-timeframe directional bias—ensuring that localized patterns are only presented when they align with the broader macroeconomic flow. This multifaceted approach provides a systematic, highly actionable framework rather than a simple visual overlay.
🔬 Methodology and Concepts
The core engine of this scanner is built upon the identification of sequential market pivots and the subsequent validation of their relationships through Fibonacci retracement and extension parameters.
• Algorithmic Pivot Detection
The script continuously monitors price action to identify localized peaks and troughs, referred to as Pivot Highs and Pivot Lows. A pivot is mathematically confirmed only when a central price point is surrounded by a user-defined number of lower highs (or higher lows) on both its left and right sides. This ensures that only significant market turning points are evaluated, filtering out intraday noise.
• Impulse Validation (1-2-3-4-5)
To confirm a five-wave impulse, the script isolates an alternating sequence of six confirmed pivots and applies strict proportional rules:
Wave 2 must retrace between 38.2% and 78.6% of Wave 1.
Wave 3 must extend beyond the terminus of Wave 1 and mathematically cannot be the shortest wave in the 1-3-5 sequence.
Wave 4 must retrace between 23.6% and 50.0% of Wave 3.
The script enforces an optional but standard rule where the extreme of Wave 4 must not overlap the extreme of Wave 1.
• Correction Validation (A-B-C)
For three-wave corrective structures, the engine isolates a sequence of four alternating pivots:
Wave B is required to retrace between 38.2% and 78.6% of the initial Wave A sequence.
Wave C must form a proportional extension of Wave A, operating strictly between the 61.8% and 161.8% boundaries.
• Structural Confirmation and PRZ
Once geometric rules are satisfied, the script calculates a Potential Reversal Zone (PRZ). For an impulse, the PRZ represents the logical termination area for Wave 5, derived by projecting 100% to 161.8% of Wave 1's magnitude outward from the origin of Wave 5. The entire sequence is then subjected to a Risk:Reward calculation, validating the pattern only if the theoretical trade setup meets the required profitability threshold.
🎨 Visual Guide
The indicator is designed to provide maximum data density without cluttering the charting environment.
• Structural Pathing
Valid Impulse waves are rendered using robust, continuous lines connecting the validated pivots, clearly demarcating the 1-2-3-4-5 progression. Corrective A-B-C structures are rendered in a distinctly contrasting color, providing immediate visual differentiation between trending and counter-trend market phases.
• Fibonacci Anchor Lines
Dotted horizontal projection lines extend outward from the Wave 4 terminus, visually indicating the 1.0x, 1.618x, and 2.618x Fibonacci extensions of Wave 1. These serve as dynamic targets for Wave 5 completion.
• Potential Reversal Zone (PRZ)
A shaded, transparent box is drawn at the culmination of the pattern. This box highlights the specific price region where harmonic and Fibonacci projections converge, signifying the highest probability area for the pattern's completion and subsequent market reversal.
• Trade Parameters
Upon pattern completion, three distinct dashed lines are projected forward on the chart:
An Entry line, anchored at the final wave's closing extreme.
A Stop line, calculated dynamically using an Average True Range (ATR) buffer applied to the penultimate structural pivot.
A Target line, mathematically derived from a 61.8% proportional measurement of the dominant impulsive wave.
• The Analytical Dashboard
A comprehensive data table anchors to the top right of the screen. This dashboard tracks real-time system metrics, including the prevailing market bias, the active pattern type, exact price levels for the generated trade parameters, and a dynamic Risk:Reward quality score visualized via an integrated block-bar system. It also tracks historical pattern frequency and individual wave magnitudes.
📖 How to Use
This script is engineered to act as an objective entry generation tool based on wave completion.
• Trading the Impulse W5
When the scanner identifies a validated 1-2-3-4 progression and projects the final Wave 5 into the PRZ box, traders should monitor price action within this shaded region. A rejection or stabilization within the PRZ, accompanied by the printing of the Entry, Stop, and Target dashed lines, signals a valid execution window. The structural stop-loss ensures that if the wave count is invalidated by overlapping previous structure, risk is immediately contained.
• Trading the A-B-C Correction
Corrective sequences are utilized to position into the resumption of the primary trend. When an A-B-C sequence completes, indicating that the counter-trend exhaustion has been reached, the system will output actionable levels targeting the previous macro swing high or low. Traders can utilize the volume confirmation toggle to ensure that the reversal away from the Wave C terminus is supported by institutional participation.
• Managing Pivot Delay
Because the indicator relies on confirmed pivots (requiring a set number of bars to close on the right side of the extreme), signals are generated only after the structural turning point is mathematically locked. Traders should view the generated Entry line as the execution threshold, waiting for price to retest or confidently cross this parameter rather than attempting to guess the absolute bottom or top of the raw price action.
⚙️ Inputs and Settings
The indicator offers deep modularity, allowing adaptation across different asset classes and timeframes.
• Pivot Configurations
Adjusting the Pivot Left and Pivot Right parameters alters the sensitivity of the extrema detection. Lower values yield aggressive, micro-wave tracking suitable for scalping, while higher values isolate macro-economic market cycles.
• Elliott Rules and Tolerances
The Fib Tolerance (%) input allows the user to expand or contract the leniency of the retracement measurements. The system also includes logical toggles to enforce strict structural laws, such as ensuring Wave 4 never overlaps Wave 1, or that Wave 3 must explicitly extend beyond Wave 1.
• Filter Systems
Traders can enforce a Higher Timeframe (HTF) Bias , ensuring the script only plots bullish waves when the macro trend is positive. A Volume Confirmation toggle is also available, suppressing signals if the momentum behind Wave 3 fails to breach the baseline volume moving average.
• Visual and Dashboard Toggles
Every graphical element, from the PRZ shading to the individual wave labels, can be toggled on or off to maintain chart hygiene. The dashboard can also be customized with specific text and background colors to fit any chart template.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The foundational framework of this indicator is deeply rooted in fractal geometry and the statistical behavior of financial time series. Markets, much like natural phenomena, exhibit self-similarity across different scales—a concept heavily explored in the mathematics of fractional Brownian motion. This indicator applies this academic premise by assuming that macroeconomic trending phases (impulses) and mean-reverting phases (corrections) manifest in predictable, repeating geometric sequences, regardless of the timeframe observed.
At the core of the algorithm is the algorithmic isolation of local extrema. By utilizing a rolling array of historical price highs and lows, the engine establishes a localized topology of the market. This topology is then subjected to proportional analysis governed by the Fibonacci sequence, a mathematical series intimately connected to the golden ratio (1.618). In financial econometrics, these specific ratios function as a psychological boundary mechanism; because market participants aggregate their risk and take-profit parameters around these proportional extensions, they generate measurable zones of supply and demand clustering.
The script synthesizes these disciplines by requiring that the distance between consecutive topological extrema strictly conforms to these irrational proportions. By enforcing a rule set where localized wave measurements must divide into one another to produce specific golden ratio derivatives, the indicator successfully models the non-linear, oscillatory nature of crowd psychology and market liquidity into a rigid, computable output.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicador

Smart Trap StructureSmart Trap Structure (STS)
The Smart Trap Structure (STS) is an advanced institutional and structural trading indicator designed to filter out market noise, identify deep liquidity hunts (traps), and track the true directional intent of the market.
Unlike standard market structure scripts that clutter the chart with endless BOS (Break of Structure) and CHoCH (Change of Character) labels, STS utilizes an exclusive "Active Setup Cycle" logic. This ensures that you only see the most relevant price ranges and confirmation points for the current market phase.
Key Features:
The Decision Line (Orange Retest Line):
Whenever a valid CHoCH occurs, an active orange "Decision Line" is projected forward. This line acts as the ultimate truth for the setup. If price violently pierces this line, it is often hunting for stop-losses (Smart Money Trap) before continuing in the intended direction.
Reaction Zones (HH & LL Boxes):
Instead of just drawing wicks, STS dynamically maps the extreme Highest Highs (HH) and Lowest Lows (LL) of a confirmed structural phase using shaded Reaction Zone boxes (from the absolute wick to the body). These zones act as highly reactive supply and demand areas for future retests.
Dynamic Fibonacci Engine:
STS features a built-in Fibonacci drawing tool that automatically anchors to the confirmed extremes (HH to LL or LL to HH) of the active setup phase. It perfectly projects structural retracement and extension levels (0, 0.236, 0.382, 0.618, 0.764, 1.0, 1.382, 1.618). When Fibo mode is active, it automatically hides unnecessary historical dotted lines for maximum chart clarity.
Clean Chart Mechanics:
You will never suffer from "indicator fatigue". When the structure shifts, the indicator forcefully deletes old, irrelevant lines, reaction boxes, and labels from past cycles. Only the active CHoCH label remains standard-sized, while internal BOS events are scaled down to keep your chart visually clean.
Integrated MA & VWAP:
Toggle the built-in VWAP and select from a variety of Moving Averages (SMA, EMA, WMA, HMA, VWMA) straight from the settings without needing an extra indicator slot on your chart.
Disclaimer:
This script is provided for educational and analytical purposes only. Past performance does not guarantee future results. The script does not constitute financial advice. Always use proper risk management and execute trades based on your own comprehensive market analysis. Indicador

Time and Price by erdensedatTime & Price Institutional Toolkit
Overview
The Time & Price Institutional Toolkit is an advanced framework designed to bridge the concepts of time cycles and price action liquidity. By blending multi-timeframe structural analysis, mathematical models (Fibonacci, Gann, Quarterly), and fair value gaps (FVG), it provides a complete top-down perspective on institutional order flow.
The "Blue Skeleton" & Liquidity Sweeps
At the core of the script is the dynamic "Blue Skeleton" matrix. It draws the calculation period's highest, lowest, and equilibrium points.
Liquidity Sweep Filter: The skeleton essentially maps the "playing field" for the current session.
Time Element: As time passes the 0.5 (midpoint) of the skeleton box—often aligning with the overlap of the London and New York sessions—the indicator is highly sensitive to manipulation sweeps. If the price spikes out of the skeleton boundaries after this midpoint, it frequently marks a "Turtle Soup" manipulation reversal right before a heavy volume trend kicks in.
Key Features:
1. Time & Price Matrix (Skeleton Framework)
Dynamically maps premium/discount zones and equilibrium based on your chosen higher timeframe (e.g., Daily, Weekly).
Multiple mathematical schemas available: Mixed, Fibonacci, Quarterly, and Gann/Harmonic ratios.
Clearly plots Overbought/Oversold extremes.
2. Turtle Soup (TS) Entry Model
Identifies liquidity sweeps below previous period lows (Bullish Sweep) or above previous period highs (Bearish Sweep) that occur in the critical second half of the time window.
Visualized with custom dashed lines and circular markers indicating high-probability reversal zones.
3. Fair Value Gap (FVG) & Breaker Engine
Automatic detection of Fair Value Gaps and Breaker Blocks with overlapping gap filters.
Raid Displays: Shows when an FVG has been raided (swept and closed through), creating dynamic support/resistance lines marked with an 'x'.
Adjustable mitigation thresholds (Close, Wick, or Average).
4. Rejection Blocks
Highlights extreme wicks (where the wick is greater than 50% of the candle range) that signify rejection.
These act as institutional pivot points. Once mitigated, they visually transform into Mitigated Blocks (MB).
5. VWAP (Volume Weighted Average Price)
Built-in, optional VWAP line for intraday mean-reversion and dynamic trend confirmation (Disabled by default, can be toggled in settings).
6. Candle Structure & Reversal Formations
(Optional feature in settings) Highlights 2-bar immediate reversals, 3-bar standard reversals, and continuation structures specifically when they form inside the Premium/Discount extremes.
Alert System
The script includes a ready-to-use alert system focused on the highest probability setups:
Turtle Soup Buy: Triggers when a bullish liquidity sweep is detected, dropping below the HTF low and rejecting back inside during the optimal time window.
Turtle Soup Sell: Triggers when a bearish liquidity sweep is detected, pushing above the HTF high and rejecting.
Note: To set these up, create an alert on TradingView, select this indicator, and choose "Any alert() function call".
How to Use:
Let the skeleton form during the early parts of the session (Asia/London).
Wait for the time to cross the 0.5 midline of the box.
Look for the price to sweep the outer boundaries of the skeleton (Turtle Soup trigger).
Enter on the rejection, targeting the 0 (Balance) line or the opposing Premium/Discount extreme, using FVGs and VWAP as dynamic targets. Indicador

Liquidity Sweep Retracements [MarkitTick]💡An advanced analytical framework designed to decode market micro-structure by evaluating the depth, speed, and statistical probability of price pullbacks. Rather than relying solely on static Fibonacci levels, this tool dynamically tracks the historical characteristics of an asset's swing behavior, alerting the user to structural anomalies and shifts in momentum. By intersecting retracement analysis with liquidity sweep detection and a built-in heatmap, this framework offers a comprehensive lens into market behavior, isolating environments where trend continuation is highly probable versus areas prone to exhaustion.
✨ Originality and Utility
Standard market analysis often relies on rigid tools that do not adapt to changing volatility conditions. This script introduces a highly original dynamic evaluation method by actively saving the characteristics of recent price swings into an internal array and establishing a moving statistical baseline.
The primary utility of this script lies in its multidimensional analysis. It does not just measure how far price has pulled back; it calculates how fast the pullback occurred and compares this velocity to the asset's recent historical baseline. This enables the framework to categorize price action not merely as a "pullback," but as a statistically significant "Anomaly" or an "Aggressive" move. Furthermore, by weaving Higher Timeframe (HTF) trend alignments and localized liquidity sweep detections into a single, cohesive dashboard and visual charting environment, it reduces chart clutter while exponentially increasing the depth of available data.
🔬 Methodology and Concepts
● Swing Structuring and Pivot Detection
The foundational logic relies on identifying structural pivot highs and lows through a localized lookback and look-forward window. The algorithm requires a definitive peak or trough isolated by user-defined left and right bars, establishing the anchor points for all subsequent mathematical measurements.
● Dynamic Retracement Scoring
Once a swing structure is confirmed, the script calculates the exact percentage of the retracement relative to the preceding impulse. These percentages are continuously categorized into defined behavioral zones:
Impulse (Less than 23%)
Shallow (Less than 38%)
Healthy (Up to 61.8%)
Deep (Up to 78.6%)
Reversal (Beyond 78.6%)
● Retracement Momentum Velocity (RMV)
Time and price are merged to extract velocity. By dividing the total percentage of the retracement by the number of bars it took to form, the script generates a velocity reading. This reading is dynamically compared against an array of historical velocities to determine if the current counter-trend move is unusually aggressive.
● Statistical Anomaly Detection
The script manages historical arrays of past retracement data, calculating a rolling mean (average) and standard deviation. An anomaly is triggered when a live retracement deviates significantly from this moving baseline, determined by a user-defined standard deviation multiplier. This mathematically highlights structural shifts before they mature into full trend reversals.
● Liquidity Sweep Verification
The indicator actively monitors price interactions with localized structural extremes. A bullish sweep occurs when price pierces a recent significant low but closes decisively above it, creating a structural trap. Bearish sweeps apply the inverse logic to structural highs.
🎨 Visual Guide
● Heatmap Candles
The script overrides standard candle colors with a dynamic heatmap that visually translates the health and speed of the current retracement:
Green indicates a healthy, standard retracement zone.
Orange highlights a weak zone, suggesting the trend is losing foundational strength.
Red warns of a deep structural violation bordering on a reversal.
Purple explicitly signifies an aggressive Retracement Momentum Velocity (RMV), warning of high counter-trend momentum.
● Price Action Overlays and Labels
Pivot Highs and Lows are marked precisely with small red and green crosses. (Note: These appear retroactively once the defined right-side bars confirm the pivot).
Data Labels are plotted at swing extremes. These carry a dark blue-gray background with dynamic text colors. They display the exact retracement percentage alongside quality badges, anomaly alerts (orange for opportunity, red for danger), and RMV warnings.
● Liquidity Markers
When a sweep is detected, small distinct shapes appear. "LS" text markers are plotted in bright green below bullish sweeps and bright red above bearish sweeps, visually anchoring liquidity traps directly onto the price action.
● The Analytical Dashboard
Located in the top right corner, this panel serves as the central intelligence hub. It utilizes shaded backgrounds to organize critical data natively on the chart.
Retracement and Health bars utilize block characters (█/░) to visualize strength out of 100%.
HTF Alignment displays the macro bias via clear text and color codes (Green for Bullish, Red for Bearish).
The dashboard aggregates averages, velocities, and quality metrics into a readable, high-contrast matrix.
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
Traders should monitor the dynamic relationship between the visual candle heatmap and the dashboard metrics.
Trend Continuation: Look for retracements that remain within the "Healthy" or "Shallow" zones (highlighted by green candles and positive dashboard health scores) that align with a bullish HTF signal.
Anomaly Exploitation: If an anomaly label appears marking a shallow retracement (orange text warning), this historically suggests an unusually strong impulse where standard deep pullbacks may not materialize.
Exhaustion Warnings: If the candles shift to purple, indicating an RMV Aggressive state, the counter-trend velocity is statistically high. Traders may use this to delay entries until momentum normalizes, or to identify structural traps if this aggression ends in a marked Liquidity Sweep (LS marker).
⚙️ Inputs and Settings
• Swing Settings
Controls the sensitivity of pivot detection. Higher values filter out market noise for major swing structures, while lower values react quickly to micro-trends.
• Retracement and Anomaly Parameters
Dictates the maximum number of historical retracements held in the memory array. The Standard Deviation Threshold allows users to expand or contract the mathematical boundary for what qualifies as an anomaly.
• RMV (Velocity) Limits
Controls the aggression threshold. Adjusting the multiplier determines how much faster a retracement must be compared to the historical average to trigger the purple heatmap and aggressive warnings.
• Liquidity Sweeps
Defines the lookback length for identifying local highs and lows that act as liquidity pools.
• Alerts and Dashboard Configuration
Enables fully customizable JSON-formatted alerts based on statistical deviations, and allows users to toggle or completely restyle the visual dashboard and heatmap components.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator is heavily anchored in statistical mechanics and kinematics principles applied to financial time-series data.
• Gaussian Distribution and Variance
Instead of utilizing fixed geometric sequences (such as the Golden Ratio), the framework treats market swings as a dataset exhibiting normal distribution characteristics. By calculating the variance and extracting the standard deviation of historical swing depths, the script establishes mathematically sound confidence intervals. When price action breaches these standard deviation bands, it represents a statistically significant outlier, formally alerting the user to a fat-tail market event.
• Financial Kinematics
The integration of Retracement Momentum Velocity (RMV) introduces physics-based kinematic principles to price action. In traditional mechanics, velocity is the rate of change of position with respect to a frame of reference. The algorithm defines the frame of reference as the structural swing, calculating velocity as the percentage of displacement per unit of time (bars). By tracking the rolling average of this velocity, the script can algorithmically determine when kinetic energy in a counter-trend direction is statistically abnormal, independent of the actual price level reached.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicador

Fibonacci A-B-C Volles Strategie-Board(ENGLISH)
---
The Fibonacci Betting-Playbook 062026: How to read the Strategy Board
If you want to succeed in the markets, you need more than just a gut feeling, you need a system that delivers crystal-clear odds. This script is your personal bookmaker dashboard directly on the chart. It scans price movements for a highly profitable pattern and shows you exactly when the risk-reward ratio is as good as a massively overpriced underdog quote in La Liga.
Here is the official manual for you and your users, so that everyone knows exactly how to read the signals and when it's better to keep your feet still.
The Game Plan: The A-B-C Formation
In the background, the script constantly scans for a specific market movement, the so-called A-B-C ZigZag. Think of it like the perfect set piece:
Point A (The Kickoff): The lowest point where the movement begins.
Point B (The First Goal): The first high point. The momentum is here.
Point C (The Tactical Pause): The price drops back slightly. Exactly here, in this pullback, we calculate our entry before the second half – the next big price breakout – begins.
As soon as the script recognizes this formation, it paints your playing field (the boxes) onto the chart.
Your Betting Odds: The Zones on the Board
When the setup is "hot", you will see two distinct boxes on your screen. They take the guesswork out of the equation and tell you exactly where you need to place your chips.
🟢 The Green Zone: The Entry (The Value Bets)
Here is where you build your position. If the price falls into this box, we have a statistical advantage (edge).
Line 0.500 (Initial Entry): The market has corrected half of its rally. Here you place your first, smaller bet.
Line 0.618 (Ideal Reload): This is the "Golden Ratio". The absolute sweet spot in the Fibonacci system. If the price drops here, you double down. The chance of a bounce is highest here.
Line 0.667 (The Last Bastion / STOP): The red dashed line. If the price falls below this, the setup is busted. The trade is canceled, you pull the ripcord, and accept the small loss. No hoping, no praying – strict bankroll management.
🟠 The Orange Zone: The Cashout (Taking Profits)
If the trade plays out and the price shoots up, this box shows you where the bookie opens the register.
Line 1.618 (Potential Turning Point): Your first target (Take Profit 1). Here you take a portion of your winnings off the table. Ring the register!
Line 1.809 (Trailing Stop-Loss): The price keeps running? Perfect. Trail your stop-loss to your entry price now. You are now riding a risk-free bet.
Line 2.000 (Massive Resistance): The absolute maximum. The air gets extremely thin up here. Take your remaining profit and close the position.
🔴 The VAR Signal: The Red Warning Box
Markets are often chaotic. If the script fails to recognize a clear A-B-C pattern, the stop-loss has been hit, or the target has already been reached, the system immediately deletes all lines from the chart.
Instead, a red box appears in the center: "CURRENTLY NO RECOMMENDATION POSSIBLE - WAIT FOR FURTHER CHART SIGNALS".
This is like a suspended betting market during a VAR check. Your only task at this moment: Do not trade. Keep your hands off the buy button. Wait patiently until the system builds the next profitable setup.
What you as a user must absolutely pay attention to (The Golden Rules)
Patience is your best croupier: Do not trade blindly just because the price is moving. Always wait until the boxes appear on the chart and the price dips into the green zone.
Respect the Stop-Loss (0.667): Even in the best Spanish casinos, you don't win every hand. If the red line is breached, close the trade on Trade Republic immediately. Whoever hesitates here gambles away their bankroll.
Split your stakes: Do not wager your entire capital at the 0.500 line. Make a partial entry and keep your powder dry in case the price drops to the golden 0.618 line. This massively improves your average entry price.
Secure your profits: When the price reaches the orange 1.618 line, do not get greedy. Take a partial profit. Nothing is more frustrating than turning a fat paper profit back into a loss.
Indicador

Indicador

Smart Money ScalpSmart Money Scalp (CHoCH + Dynamic Fibonacci)
Technical Summary:
Smart Money Scalp is a high-fidelity market structure engine engineered for traders who demand precision in both high-frequency scalping and structural swing trading. The indicator utilizes advanced fractal pivot logic to identify Character Change (CHoCH) events—the earliest signal of a trend reversal—and automatically projects institutional Fibonacci retracement zones.
Timeframe Versatility:
While specifically optimized for ultra-fast execution on Lower Timeframes (1m, 5m, 15m), the script's core structural algorithms are equally robust for Higher Timeframes (1H, 4H). This makes it a versatile powerhouse for both aggressive intra-day scalpers and disciplined structural swing traders who seek to capitalize on institutional order flow.
Key Features:
Automated Structural Analysis: Real-time identification of Market Structure Shifts (MSS/CHoCH) based on customizable fractal lengths.
Institutional Golden Zones: Automatically highlights the 0.382 - 0.618 (Optimal Entry Zone) and the 1.382 - 1.618 (Expansion/TP Zone) using dynamic, bar-synced projections.
Dynamic Visual Scaling: Fibonacci levels and boxes expand in real-time with price action, providing a live roadmap of market dynamics.
Smart Noise Reduction: Historical text labels are automatically purged upon new setup generation to maintain a professional, clutter-free charting environment.
Confluence Filters: Optional Volume Weighted Confirmation and a Multi-algorithm Trend Filter (SMA, EMA, VWMA, etc.) are integrated to filter out low-probability liquidity traps.
Pro Alert Integration: Dedicated alerts for "CHoCH Formation" and "Entry Zone Infiltration," allowing for hands-off monitoring.
Trading Protocol:
Detection: Monitor for a CHoCH break confirming a shift in market character.
Confluence: (Optional) Ensure the break is supported by the Hacim (Volume) and Trend filters.
Execution: Identify entry triggers within the blue "ENTRY ZONE".
Distribution: Target the green "TP ZONE" for profit taking during price expansion.
Disclaimer:
Trading financial instruments involves high risk. This tool is intended for analytical and educational purposes. Always prioritize capital preservation and utilize strict risk management protocols. LuxAlgo does not guarantee financial results. Indicador

MIDAS Fibonacci Cloud [JOAT]MIDAS Fibonacci Cloud
Introduction
MIDAS Fibonacci Cloud is an open-source VWAP-based analytical tool that combines a MIDAS-anchored volume-weighted average price with six Fibonacci-scaled standard deviation bands, a Z-score probability engine, and a synthetic order flow score to produce an integrated picture of institutional value, statistical deviation, and directional pressure on a single overlay.
The problem this solves is band relevance. Standard VWAP deviations use fixed multipliers (1×, 2×, 3× standard deviation) that carry no structural meaning in market terms. Replacing those multipliers with Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 1.0, 1.618) means the band levels correspond to proportional retracement relationships that institutional participants commonly reference. The 1.618 band in particular acts as an extreme extension zone where reversion probability, quantified by the built-in Z-score engine, typically exceeds 99.7%.
Core Concepts
1. MIDAS VWAP with Configurable Anchoring
The VWAP calculation uses the MIDAS method — cumulative volume-weighted price that resets at a user-selected anchor point rather than running as a continuous session VWAP. The anchor can be set automatically (based on the current timeframe), manually to a specific higher timeframe, or to a precise date. This allows the VWAP to be anchored to any significant market event.
The variance term used for standard deviation is computed directly from the volume-weighted sum of squared prices, producing a statistically correct VWAP standard deviation:
float midasVwap = sumVolPrice / sumVol
float variance = (sumVolSq / sumVol) - math.pow(midasVwap, 2)
float stdDev = math.sqrt(math.max(0, variance))
2. Fibonacci Deviation Bands
Six band pairs are computed above and below the VWAP anchor using the standard deviation scaled by a global sensitivity multiplier and each Fibonacci ratio. Upper bands are colored in the bull theme color with decreasing opacity from band 1 to band 6; lower bands in the bear theme color with the same gradient. A gradient fill connects the outer zone (fib4–fib6) to visually highlight the extreme deviation region.
3. Z-Score and Bell Curve Probability
Each bar's Z-score is computed as the signed distance from the VWAP in units of standard deviation. The dashboard converts this to a mean-reversion probability using standard normal distribution thresholds: within 1σ = 68.2%, within 2σ = 95.4%, within 3σ = 99.7%, beyond 3σ = 99.9%.
4. Synthetic Order Flow Score
A bar-level order flow score is computed from three components: candle body-to-range ratio (directional conviction), volume relative to the 20-bar average (institutional participation), and wick rejection percentage (price acceptance or rejection). These are weighted 40/35/25 and scored 0 to 100. VWAP crossover signals are gated by this score — crossovers with low order flow scores are filtered as noise.
5. Gradient Fill Zones
The two outer Fibonacci bands (fib4 and fib6) are connected with a gradient fill that creates a visual glow effect identifying the extreme deviation zones — the regions where price is statistically most likely to be overextended.
Features
MIDAS VWAP with three anchor modes: Auto (timeframe-adaptive), Timeframe (manual higher TF), Date (specific date anchor)
Six Fibonacci deviation band pairs: Levels at 0.236, 0.382, 0.500, 0.618, 1.000, 1.618 × standard deviation × global sensitivity
Gradient fill on extreme zones: Color-to-transparent gradient between fib4 and fib6 identifies overextension zones
Z-score and reversion probability: Computed every bar with bell curve probability output (68.2% / 95.4% / 99.7% / 99.9%)
Synthetic order flow gate: Body ratio, volume participation, and wick rejection combined into a 0-100 score that gates VWAP cross signals
Candle coloring by Z-score: Bar colors intensity-coded by distance from VWAP — neutral near center, saturated at extremes
Band labels at right edge: Each band level labeled with its Fibonacci ratio and price value, updated each bar
Anchor reset marker: Vertical marker in elite theme color at each VWAP reset point
Four color themes: Phantom, Neon, Classic, Solar
Non-repainting: VWAP and bands computed cumulatively from anchor; no future data referenced
Institutional dashboard: 8-row table showing VWAP price, distance %, Z-score, reversion probability, order flow score, and market state
Input Parameters
Anchor Settings:
Anchor Method: Auto / Timeframe / Date
Manual Timeframe: Timeframe to anchor to when method is Timeframe
Manual Date: Specific timestamp when method is Date
Fibonacci Multipliers:
Global Sensitivity: Scales all band widths proportionally (default: 1.2)
Fib Level 1 through 6: Individual Fibonacci ratios (defaults: 0.236, 0.382, 0.500, 0.618, 1.000, 1.618)
Visual Styles:
Color Theme: Phantom / Neon / Classic / Solar
Highlight Candles: Toggle candle coloring by Z-score
Show Band Labels: Toggle right-edge price labels on each band
Table Position and Size
How to Use This Indicator
Step 1: Choose Your Anchor
For intraday scalping, use Auto or Daily anchor. For swing trading, use Weekly or Monthly. For event-driven analysis, use Date and anchor to a specific earnings release, FOMC announcement, or major swing point.
Step 2: Read Band Levels as Statistical Reference
The 0.5 band is one half standard deviation from VWAP — a mild deviation typical of normal trending behavior. The 1.618 band is the extreme extension zone. Price at the 1.618 band has a statistical reversion probability above 99.7%, but this does not mean reversion is imminent or guaranteed.
Step 3: Check the Reversion Probability
Read the Reversion Prob row in the dashboard. As Z-score rises above 2, reversion probability exceeds 95.4%. This quantifies how unusual the current deviation is relative to the full history from the anchor point.
Step 4: Confirm with Order Flow Score
The Order Flow score reflects whether the current bar has institutional characteristics. A high score (above 60) during a VWAP cross suggests genuine participation. A low score (below 30) during a cross suggests a potentially false signal.
Indicator Limitations
The VWAP standard deviation widens significantly with the anchor period. Bands anchored to a six-month period will be very wide; bands anchored to one day will be tight. The global sensitivity parameter must be adjusted accordingly
The Z-score probabilities assume normally distributed returns, which markets do not produce. Fat tails mean extreme Z-scores occur more frequently than the percentages suggest
The synthetic order flow score uses tick volume as a proxy for actual order flow. On assets with low tick frequency, this approximation is less reliable
VWAP-based analysis is most relevant for liquid instruments
This indicator does not generate entry or exit signals. It provides statistical deviation context
Originality Statement
Replacing standard deviation band multipliers with Fibonacci ratios (0.236 through 1.618), scaled by a volume-weighted standard deviation from a MIDAS anchor, is not replicated in existing open-source Pine Script v6 VWAP publications
The combination of Z-score computation, bell curve probability quantification, and a synthetic order flow score as a gate for VWAP cross signals within a single indicator is an original integration
The candle coloring gradient driven by Z-score intensity provides real-time deviation awareness directly on price bars without requiring a separate oscillator panel
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Statistical deviation probabilities are based on a normal distribution assumption that financial markets do not satisfy. Past VWAP behavior does not predict future price action. The author accepts no responsibility for trading losses resulting from use of this indicator.
Made with passion by jackofalltrades
Indicador

SXA: Super Xtation Amplitude | MTF FrameworkSXA (Super Xtation Amplitude) is a multi-timeframe market positioning framework designed to provide a complete visual overview of price location within the broader market structure.
Rather than focusing on entry signals, SXA combines trend context, volatility, session activity, anchored VWAPs, prior-day reference levels, Fibonacci projections, and higher-timeframe moving averages into a single environment. The objective is to help traders understand where price is currently trading relative to statistically and structurally significant areas.
The indicator was built around a simple principle:
"Price behaves differently depending on where it is located within the market."
By integrating multiple forms of context into one view, SXA allows traders to quickly identify premium and discount zones, trend alignment, session-driven liquidity areas, and potential reaction levels without switching between multiple indicators.
FEATURES
• Smart Trend Engine
Multi-timeframe moving average framework designed to visualize short, intermediate, and macro directional bias.
• Dynamic Trend Clouds
Visual cloud structures help identify trend alignment and potential transition zones between bullish and bearish conditions.
• Higher Timeframe Context
Daily 50 SMA and 200 SMA provide broader market structure and long-term directional references.
• Prior Day Reference Levels
Automatic plotting of previous day's Open, High, Low, and Close.
• Fibonacci Expansion Grid
Extended Fibonacci projections derived from the previous day's range to identify potential reaction zones and liquidity targets.
• Anchored Session VWAPs
Includes:
* Daily VWAP
* European Session VWAP
* Pre-New York VWAP
* New York Session VWAP
* Post-European Session VWAP
These levels provide institutional-style references for price acceptance and value.
• Weekly Structure Levels
Dynamic weekly Open, High, and Low levels update in real time throughout the trading week.
• Session Mapping
Visual session boxes highlight important market periods, including the Asian session and Pre-New York range.
INTENDED USE
SXA is designed as a contextual decision-support tool rather than a standalone trading system.
The indicator can be used to:
* Assess overall market positioning.
* Identify trend alignment across multiple timeframes.
* Locate potential support and resistance zones.
* Track session-driven liquidity.
* Monitor volatility expansion and contraction.
* Build discretionary trade narratives.
* Enhance existing trading systems.
SXA does not generate buy or sell recommendations. Instead, it seeks to answer a more fundamental question:
"Where is price currently located within the broader market landscape?"
By providing that context at a glance, traders can make more informed decisions while reducing chart clutter and indicator overload.
Created by @Peter_n_n
Indicador

Confirmed Fibonacci with Market StructureConfirmed Fibonacci with Market Structure
-Description
A Fibonacci retracement tool for trend-continuation setups. It draws only after price has confirmed a directional move through market structure, then locks the levels in place so the pullback zone stays where it was set.
-What it does
The script applies three conditions before it draws a retracement, and once it draws, the anchors are fixed until the setup is invalidated:
- it requires a break of structure, not just any swing;
- it requires the impulse to be large enough relative to recent volatility;
- it can require agreement from the higher timeframe.
The result is a small number of retracements, drawn on moves that have shifted structure, that stay in place once set.
-How the detection works
1. Swing pivots. The script identifies swing highs and lows using pivot detection — a bar is a pivot high when it is the highest over a set number of bars to its left and right (the Pivot length input), and the reverse for a pivot low. These pivots define the prior swing and the structural reference levels.
2. Break of structure. For a bullish leg, the script takes the most recent prior swing low as the origin, then looks for an impulse high that trades above the last swing high formed before that low. Trading above that prior high is the break of structure — confirmation that buyers have shifted structure upward. The bearish case is the mirror image (a swing high origin, and an impulse low that breaks the prior swing low).
3. Displacement filter. The impulse is only accepted if its size (impulse high minus origin low) is at least a chosen multiple of ATR(14) — the Min displacement (ATR) input. Normalising to ATR judges a move on a quiet instrument and a volatile one on the same scale, and filters out small, insignificant structural breaks.
4. Draw timing. In Fast Draw mode the leg confirms on an asymmetric impulse pivot (fewer bars required to the right of the extreme), so the fib appears sooner after the high or low. With Fast Draw off, it instead waits for a completed pullback pivot before drawing — slower, but it only commits once a retracement is already underway.
-The Fibonacci leg and golden zone
When a bullish leg confirms, 0.0 is placed at the impulse high and 1.0 at the origin low, so the retracement levels measure how far price pulls back into the move (bearish legs are inverted). The shaded 0.618–0.786 band is the golden zone — the area where trend-continuation pullbacks commonly find support or resistance. A dashed line marks the broken structure level (BOS), and the impulse leg is labelled at its anchors (HH/HL for a bull leg, LH/LL for a bear leg).
-Higher-timeframe bias
The optional bias filter reads swing structure from the next standard timeframe up (for example, a 1-hour chart reads the 4-hour). That timeframe is rated bullish when its recent structure prints higher highs and higher lows, and bearish on lower highs and lower lows. With the filter on, the script only draws bullish legs in a bullish higher-timeframe context and bearish legs in a bearish one, and it clears the active leg if the higher timeframe flips against it. The request uses confirmed values with no lookahead.
-Invalidation and refresh
A bullish leg is invalidated when price closes below its origin low, with a small ATR buffer to absorb wicks; bearish legs mirror this. A leg is also cleared if it goes stale — when no new structure forms within a configurable number of bars. Until one of those happens, the anchors stay locked, so the levels on your chart are the same ones set when the leg confirmed.
-How to use it
This tool is built for trending markets and continuation trading, not ranges. The premise is simple: after a structure break and a displaced impulse, a trend often pauses and retraces before continuing in the same direction, and the golden zone is where that retracement commonly runs out of steam.
- Trade with the leg, into the pullback. On a confirmed bullish leg, treat the 0.618–0.786 golden zone as a pullback entry zone for longs — you are looking to join the move as price retraces into it, not to fade it. On a bearish leg, the same zone is where you look for shorts as price pulls back up into it.
- Use the higher-timeframe filter for alignment. Leaving HTF Bias on keeps you taking pullbacks in the direction of the larger trend, which is the context where continuation setups tend to hold up best. Turning it off shows every confirmed leg regardless of the bigger picture.
- Anchor risk to the structure the tool already marks. The origin (the 1.0 level, where the leg began) is the natural invalidation — a close back through it means the continuation idea has failed, which is also when the script clears the leg. Targets are typically toward the impulse extreme or beyond it. The BOS line shows the level whose break confirmed the move.
- Read the zone, don't blindly buy or sell it. The golden zone is an area of interest, not a trigger. Wait for your own confirmation inside it — a reaction candle, a lower-timeframe shift in structure, or whatever you normally use — before committing.
- The golden zone isn't the only level worth watching. Shallower retracements such as the 0.382 or the 0.500 often hold in strong trends that don't pull back far, while the deeper 0.618–0.786 zone tends to come into play on bigger retracements. Different instruments and timeframes react at different levels, so test which ones your pairs respect and toggle the levels you don't use off to keep the chart clean.
- Filter the chop. In ranging or low-momentum conditions a structure break is more likely to fail. Raise Min displacement (ATR) so the tool only draws on decisive moves, and set Pivot length to suit the timeframe (suggested starting points are in each input's tooltip).
-Inputs
-Structure
- Fast Draw (default on). On, the retracement is drawn as soon as the impulse, break of structure and displacement all confirm — the earliest possible draw. Off, it waits for a completed pullback pivot before drawing, which is slower but only commits once a retracement is already under way. Turning it off gives later but more conservative entries.
- Pivot length (default 8). Bars to the left and right used to confirm the structural swing highs and lows that define the prior swing and the break-of-structure reference. Higher values track larger, slower swings and draw fewer legs; lower values react to smaller swings and draw more. Rough starting points: 18 on 15m, 8 on 1h, 4 on 4h, 3 on daily.
- Impulse pivot R (default 3, Fast Draw only). The number of bars required to the right of the impulse extreme before it is accepted. Lower confirms the leg sooner after the high or low; higher waits for more confirmation, so the leg draws later but the extreme is more settled.
- Pullback pivot length (default 2, used only when Fast Draw is off). Bars left and right for the pullback pivot the script waits on before drawing. Lower draws faster on shallower pullbacks; higher requires a deeper, more developed pullback first.
- Min displacement (ATR) (default 1.5). The minimum impulse size, measured in ATR(14) units, before a structure break counts. Raising it ignores small moves and only draws on decisive ones; lowering it draws on smaller breaks too. As a guide: 0 accepts any impulse, 1.0 is modest, 1.5 is meaningful, 2.5 and up captures only major moves.
- Invalidation buffer (ATR) (default 0.25). A tolerance, in ATR(14) units, added beyond the origin before the leg is invalidated, so a single wick through the level doesn't cancel the setup. Higher gives the trade more room before it's cleared; lower invalidates more strictly.
- Max leg age (bars) (default 150). If no new structure forms within this many bars, the leg is treated as stale and cleared. Lower keeps only fresh setups on the chart; higher lets a quiet leg persist longer.
- Pivots retained (default 15). How many recent pivots the script keeps in memory to look back through when building a sequence. Higher allows it to reference older swings; lower keeps it focused on the most recent structure. Mostly affects edge cases — the default suits most charts.
HTF Bias
- Use HTF bias filter (default on). When on, the script only draws legs that agree with the higher-timeframe trend and clears a leg if that timeframe flips against it. Turning it off shows every confirmed leg regardless of the larger trend.
- HTF pivot length (default 3). Bars left and right used to read swing structure on the higher timeframe. Higher reads a broader, slower higher-timeframe trend; lower makes the bias more responsive.
Fib Levels
- 0.000 to 1.000 toggles. Switch each standard retracement level on or off independently, so you can show only the ones you trade.
- Custom level (default off, 0.75). Enables one extra level at a ratio you choose, with its own colour — useful for a level such as 0.705 or 0.79 that sits outside the standard set. Drawn alongside the standard levels.
Visual
- Colour Theme (default "Default"). Sets the dashboard colours and the fib line colour. Ten themes are included; purely cosmetic.
- 0.500 line color, Golden zone fill, Golden zone edge, Impulse line color, BOS line/label color. Individual colour controls for those specific elements, so you can tune contrast against your chart.
- Show BOS line + label (default on). Draws the dashed line at the broken structure level with a "BOS" tag. Off hides it for a cleaner chart.
- Show impulse line (default on). Draws the dashed line connecting the two anchors of the leg.
- Extend right (default on). Extends the level lines to the right of the current bar so they project forward; off ends them at the current bar.
- Price labels (default on). Shows the price value beside each level.
- Anchor markers (default on). Labels the two anchor points (HH/HL or LH/LL) of the leg.
- Info panel (default on). Shows the dashboard with structure state, higher-timeframe bias, anchor prices and how long ago the impulse confirmed.
Alerts
- Alert on new fib drawn (default on). Fires when a new bullish or bearish leg is drawn.
- Alert on Golden Zone touch (default on). Fires the first time price touches the golden zone of the active leg.
**Notes**
Swing pivots confirm a fixed number of bars after the actual high or low, so a leg appears after that confirmation delay rather than at the exact extreme — this is inherent to pivot-based detection. Once drawn, anchors are locked and do not move. The higher-timeframe bias uses confirmed values without lookahead, so it does not repaint on historical bars, though like any higher-timeframe data it can update within a forming higher-timeframe bar in real time. These levels are decision support, not buy or sell signals.
**Disclaimer**
This indicator is for educational and informational purposes only and is not financial or investment advice. Past performance does not guarantee future results. Always do your own analysis and manage your own risk.
Indicador

SmartBreak Fibo [TraderHook]SmartBreak Fibo
Stop drawing your setups by hand. SmartBreak watches market structure in real time, and the moment price breaks a structural swing — a BOS (Break of Structure) or CHoCH (Change of Character) — it instantly maps a full Fibonacci trade plan on your chart: entry, stop, and three targets. No manual fib dragging, no guesswork on where to place levels.
How it works
The engine tracks swing highs/lows and detects every structural break (BOS / CHoCH).
On each break, a Fibonacci is anchored from the broken swing (level 1) to the opposing swing (level 0).
Entry is plotted at the 0.618 retracement, Stop-Loss at level 0 (the swing extreme).
Three take-profits sit at fib extensions 2.0 / 2.618 / 3.618 .
A green box shows the profit zone (entry → TP3), a red box shows the risk zone (entry → SL).
Why traders like it
Setups appear the instant structure breaks — you decide whether to take them, the levels are already there.
Long breaks are marked green, short breaks red — direction is readable at a glance.
Fully adjustable: entry level, all three TPs, pivot sensitivity, colors, and how many recent setups stay on screen.
"ChoCh only" mode if you prefer to trade reversals over trend continuations.
Settings
Pivot Period — structure sensitivity (higher = bigger swings only).
Entry / TP1 / TP2 / TP3 — every fib level is yours to tune.
Number of recent setups — keep the chart clean with just the latest, or show history.
Long / Short setups — toggle either side on or off.
Credits
The market-structure engine (ZigZag, swing classification, BOS/CHoCH) is based on the open-source work of TFlab , used under the Mozilla Public License 2.0. The Fibonacci trade-box system is by TraderHook. Published open-source — feel free to study and build on it.
Disclaimer
This is a visualization tool, not financial advice or a signal service. The take-profit levels are mechanical Fibonacci extensions — they do not predict that price will reach any target. Always backtest and manage your own risk before trading. Indicador

Dynamic Pivot Fibo Analytics [MarkitTick]💡 A highly advanced, automated technical analysis tool designed to objectively identify structural market swings and project key Fibonacci retracement and extension levels. By isolating mathematically confirmed pivot highs and lows, the algorithm eliminates the subjective bias traditionally associated with drawing retracement tools manually. The script dynamically maps out critical zones of interest—such as the widely observed Golden Pocket—while continuously evaluating the current price action against these historical vectors. Coupled with a real-time analytical dashboard, it provides traders with a comprehensive breakdown of swing volatility, level proximity, and directional bias, serving as a complete ecosystem for retracement-based methodologies.
✨ Originality and Utility
The primary utility of this script lies in its capacity to transform a traditionally manual and subjective charting process into an automated, mathematically rigorous system. While standard charting platforms require users to manually select anchor points for Fibonacci tools—often leading to inconsistent application—this script programmatically identifies the most statistically relevant extremums based on user-defined lookback periods.
Its originality is further highlighted by its multi-layered filtering architecture. Rather than treating every minor price fluctuation as a valid swing, the script incorporates an objective volatility filter utilizing either the Average True Range (ATR) or a strict percentage threshold. This ensures that only structurally significant market movements are measured, effectively filtering out stochastic market noise. Furthermore, the integration of an on-chart analytical dashboard and a dynamic level-touch highlighting system brings a level of interactive feedback rarely seen in standard visualization tools, allowing traders to instantly gauge the health and maturity of an active swing.
🔬 Methodology and Concepts
● Pivot Extrema Detection
The foundational logic relies on the identification of local minimums and maximums within a continuous time-series dataset. The algorithm evaluates a central candidate bar against a defined window of preceding and succeeding bars. A Pivot High is only confirmed if the candidate's high remains unbreached across the entire evaluation window, ensuring it represents a true structural peak. This mechanism inherently requires a confirmation delay to validate the peak, preventing the erratic shifting of anchors during live price formation.
● Swing Filtering and Validation
Once opposing pivot points are confirmed, the script calculates the absolute price range of the resulting swing. To prevent false positives in low-volatility environments, the script applies a normalization filter. It evaluates the raw swing range against either a fractional multiplier of the current ATR or a static percentage of the asset's price. Swings failing to meet this geometric threshold are automatically discarded, preserving chart clarity.
● Fibonacci Mathematics and Zonal Mapping
Upon validating a swing, the algorithm applies standard Fibonacci sequence ratios to the defined price vector. It calculates core retracements (0.236, 0.382, 0.500, 0.618, 0.786) and projects mathematical extensions (1.272, 1.618, 2.000) for target mapping. The script specifically isolates the 0.618 to 0.650 region, commonly referred to as the Golden Pocket, rendering it as a distinct filled zone to highlight its historical significance as an area of mean reversion.
🎨 Visual Guide
● Main Chart Elements
Swing Line: A distinct, solid line directly connecting the anchored Pivot Low and Pivot High, visually defining the active vector being measured.
0.000 and 1.000 Anchors: The baseline extremums of the swing, marked by precise labels and dashed/dotted lines to indicate the absolute boundaries of the measured range.
Key Retracement Levels (0.382 & 0.618): Rendered with emphasized, dashed lines to denote their elevated importance in traditional retracement theory. The 0.618 level utilizes a distinct gold color to draw the user's attention.
Minor Retracement Levels (0.236, 0.500, 0.786): Displayed using subtle, dotted lines to provide contextual support without overwhelming the primary visual hierarchy.
Golden Pocket Fill: A translucent shaded region spanning the area between the 0.618 and 0.650 price coordinates, serving as a primary zone of interest for exhaustion.
Touch Highlights: When the current price intersects any active Fibonacci line, the line's color dynamically shifts (defaulting to white), providing immediate visual feedback of level interaction.
Historical Swings: If enabled, the script retains ghosted, dotted representations of previously confirmed swings, allowing users to analyze past interactions without cluttering the active setup.
● Dashboard Elements
Direction: A color-coded textual readout confirming whether the active, validated swing is Bullish or Bearish.
Swing Range: A visual block-bar representation (scaling from 0 to 10) evaluating the magnitude of the current swing relative to the prevailing ATR.
Key Levels: Direct, high-precision price readouts for the critical 0.382 and 0.618 levels.
Levels Touched: A scoring metric visualizing how many individual Fibonacci levels the current price action has interacted with since the setup was confirmed.
0.618 Proximity: A dynamic strength bar indicating how close the current price is to the Golden Ratio, aiding in the anticipation of level tests.
Setup Age: A raw bar-count indicating the duration since the swing anchor was established.
📖 How to Use
Setup Identification: Apply the script to your chart and observe the automated generation of the Swing Line. The script will wait for the defined lookback period to confirm a pivot before drawing the corresponding Fibonacci grid.
Trend Context: Use the Dashboard to immediately confirm the direction and strength of the swing. A high Swing Range score indicates a robust structural move, lending higher confidence to the subsequent retracement levels.
Zone Monitoring: Focus attention on the highlighted Golden Pocket zone. As price retraces into this filled area, monitor for deceleration or reversal patterns. The built-in proximity score on the dashboard will alert you as price nears this critical threshold.
Interaction Feedback: Watch for the dynamic Touch Highlights. When a level changes color, it confirms that price has officially probed that mathematical coordinate.
Alert Automation: Instead of manually monitoring the chart, configure the script's alert parameters to notify you strictly when price touches a key level (such as the 0.382 or 0.618), streamlining your analytical workflow.
⚙️ Inputs and Settings
Swing Settings: Controls the structural strictness of the algorithm. Adjusting the "Left Bars" alters the required validation period for a pivot, while "Extend Lines" controls the horizontal projection length of the drawn levels.
Swing Filter: Toggles the volatility validation on or off. Users can select between an "ATR" multiplier or a pure "Percent" requirement, establishing the minimum acceptable size for a swing to be plotted.
Direction Filter: Allows the user to isolate the script's output to strictly Long setups, strictly Short setups, or Both simultaneously.
Fib Extensions & Golden Pocket: Provides granular control over the visibility and aesthetic rendering of the >1.000 extension levels and the specialized 0.618-0.650 fill zone.
Level Touch Alerts: Configuration options for automating notifications. Users can toggle alerts for specific key levels, all levels collectively, and customize the visual highlight color triggered by these interactions.
Historical Swings: Defines the quantity of past setups to retain on the chart for retrospective analysis.
Dashboard Settings: Customization parameters for the analytical table's background and text colors to ensure readability across different chart themes.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The theoretical foundation of this script intersects two distinct disciplines of market analysis: algorithmic extremum detection and geometric proportion analysis.
The extremum detection relies on a localized peak-trough evaluation algorithm. By isolating a data point and verifying that its scalar value is strictly greater than (or less than) all corresponding values within a symmetric `n`-period domain, the script establishes a mathematically unassailable structural node. This method effectively filters out continuous monotonic sequences and isolates true inflection points in the time-series data.
To prevent the algorithm from validating micro-fluctuations inherent in random walk market environments, it employs a normalization technique using Average True Range (ATR). ATR provides a dynamic measure of standard deviation over time. By forcing the absolute scalar difference between two validated extremums to exceed a fractional coefficient of the ATR, the script ensures that the analyzed vector falls outside the bounds of standard market noise, thereby validating its statistical significance.
Once the vector is established, the script applies the principles of the Fibonacci sequence—a recursive mathematical progression where the ratio of successive terms converges on Phi (approximately 1.618). In the context of market dynamics, these ratios (particularly their inverses and square roots, such as 0.618 and 0.382) have been empirically observed to act as psychological focal points for mass market behavior. The script translates these geometric proportions into static coordinate thresholds, creating a structured, grid-based framework for evaluating the amplitude and potential exhaustion points of counter-trend market phases.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicador

Polar Auto Fibonacci Pro - [Rehan Khanani]Polar AutoFib Pro
Polar AutoFib Pro is a professional all-in-one trading indicator that combines two powerful systems into a single clean overlay—a trend-following buy/sell signal engine and an automatic Fibonacci retracement tool. No need to juggle multiple indicators; everything you need is right here on the chart.
─────────────────────────────
HOW IT WORKS
─────────────────────────────
This indicator runs two engines simultaneously:
Engine 1 — PolarEdge Signal System
Generates high-probability Buy and Sell signals by combining three confirmations:
1. EMA 200 — The primary trend filter. When the price is above the EMA, the system looks for Buy setups. When the price is below, it looks for Sell setups. This keeps you trading with the dominant trend at all times.
2. Supertrend — A dynamic volatility-based band that confirms trend direction. The green band confirms bullish momentum; the red band confirms bearish momentum.
3. RSI (Relative Strength Index) — Used as a momentum trigger. A BUY signal fires when RSI crosses up from the oversold zone (default 30). A SELL signal fires when RSI crosses down from the overbought zone (default 70).
All three conditions must align simultaneously—this triple-confirmation logic filters out weak and false signals.
Engine 2 — Auto Fibonacci Retracement
Automatically detects the most recent swing high and swing low using pivot point calculations, then draws the complete Fibonacci retracement grid in real time — no manual drawing required.
The indicator identifies whether the last major pivot was a high or a low, determines the swing direction, and plots all key levels accordingly. When a new swing forms, the levels update automatically.
─────────────────────────────
FIBONACCI LEVELS INCLUDED
─────────────────────────────
0 / 0.236 / 0.382 / 0.5 / 0.618 / 0.786 / 1
1.618 / 2.618 / 3.618 / 4.236
Each level is independently toggleable with its own color control. You can show values as decimals or as percentages. Labels can be positioned on the left or right side of the chart. Line extension can be set to Left, Right, or Both directions.
─────────────────────────────
KEY FEATURES
─────────────────────────────
- Triple-confirmation Buy/Sell signals (EMA + Supertrend + RSI)
- Automatic Fibonacci retracement — no manual drawing needed
- Real-time swing detection using pivot high/low logic
- Dynamic trend background (subtle green/red shading behind candles)
- 11 fully customizable Fibonacci levels with individual color pickers
- Toggle each Fib level on/off independently
- Show prices and/or level values on labels
- Labels position: Left or Right
- Line extension: Left, Right, or Both
- Reverse Fib direction toggle
- Works on all assets: Forex, Crypto, Commodities, Indices, Stocks
- Works on all timeframes
- 6 built-in alert conditions (see Alerts section below)
─────────────────────────────
SETTINGS GUIDE
─────────────────────────────
Group 1 — PolarEdge Signal Settings
- Trend Baseline EMA: Period for the main trend filter (default 200)
- RSI Length: RSI calculation period (default 14)
- RSI Overbought Level: Sell trigger threshold (default 70)
- RSI Oversold Level: Buy trigger threshold (default 30)
- Show EMA 200: Toggle the EMA line on/off
- Show Supertrend Bands: Toggle the Supertrend lines on/off
Group 2 — Auto Fibonacci Settings
- Pivot Depth: Number of bars to look back for swing detection (default 10). Lower = more sensitive, Higher = fewer but stronger pivots
- Reverse Fib Direction: Flips the Fib measurement direction
- Extend Left / Right: Controls how far Fib lines extend on the chart
- Show Prices: Displays exact price on each level label
- Show Level Values: Displays the Fib ratio on each level label
- Level Format: Choose between decimal values or percentage display
- Labels Position: Place labels on the Left or Right side
Group 3 — Fibonacci Levels
- Toggle each of the 11 levels individually
- Customize the value and color of every level
─────────────────────────────
ALERT CONDITIONS (6 Total)
─────────────────────────────
1. BUY Alert — fires on every confirmed Buy signal
2. SELL Alert — fires on every confirmed Sell signal
3. Any Signal — fires on either Buy or Sell
4. Fib 0.618 Cross — price crosses the Golden Ratio level
5. Fib 0.5 Cross — price crosses the midpoint level
6. Fib 0.382 Cross — price crosses the key retracement level
To activate: click the alarm clock icon on the indicator, select your desired condition, and set your notification method.
─────────────────────────────
HOW TO USE
─────────────────────────────
Step 1 — Identify trend direction using the EMA 200 and the background color. Green background means bullish bias; red background means bearish bias.
Step 2 — Watch for a BUY or SELL label to appear. This confirms all three conditions (EMA, Supertrend, RSI) have aligned.
Step 3 — Use the automatically drawn Fibonacci levels to plan your entry, stop loss, and take profit targets. Common setups: enter near the 0.382 or 0.5 retracement, target the 0 or -0.236 extension, stop below the 0.618 or 0.786 level.
Step 4 — Set alerts on your preferred Fibonacci levels to be notified when price reaches key zones.
─────────────────────────────
RECOMMENDED TIMEFRAMES
─────────────────────────────
- Scalping: 1m, 5m, 15m
- Intraday: 30m, 1H
- Swing Trading: 4H, Daily
- Position Trading: Weekly
The indicator adapts to any timeframe automatically.
─────────────────────────────
DISCLAIMER
─────────────────────────────
This indicator is a technical analysis tool designed to assist in identifying potential trading opportunities. It does not guarantee future results. Always apply proper risk management and conduct your own analysis before entering any trade. Past signal performance is not indicative of future results. Indicador
