Indicator

Breaker Block Identifier [algo_aakash]Breaker Block Identifier is a market structure indicator that converts failed order block retests into scored, non-repainting breaker zones. Rather than flagging every order block that gets invalidated, the script requires a complete sequence of confirmed price events — order block formation, an opposing structure break, a retracement into the invalidated zone, and a failed retest of that zone — before a breaker is created, and then ranks the result with a transparent quality score.
Problem Statement
Order blocks are frequently invalidated by a structure break and later retested, but a retest failing to continue in the original direction is not automatically a tradable breaker block. Many public scripts draw a zone as soon as an order block is broken, without verifying that the subsequent retest actually failed, how deep that retest penetrated, or how convincingly price rejected the zone. This produces a high volume of low-quality zones that require manual filtering by the trader.
This indicator addresses that gap by treating breaker formation as a multi-stage state machine rather than a single condition, and by scoring every candidate that completes the sequence so weak retests can be filtered out programmatically instead of visually.
Methodology
Swing highs and lows are identified with ta.pivothigh/ta.pivotlow using a user-defined bar count on each side, so every structural level referenced by the script is a confirmed pivot, never a forming one.
An order block source candle is located as the last opposite-colored candle at or immediately before each confirmed swing pivot, within a fixed lookback. The candle must exceed a minimum size expressed as a multiple of ATR, and can optionally be required to close on above-average volume. Zone boundaries can be set to the candle body (open/close) or the full wick range (high/low).
Every order block candidate then moves through three internal states. In the Pending state the script waits for an opposing structure break (a close beyond the relevant swing high or low, optionally required to clear the level by a minimum ATR multiple). Once that break occurs the candidate becomes Flipped, and the script waits for price to retrace back into the now-invalidated zone. On entry into the zone the candidate becomes Retesting, and the script tracks the deepest penetration price reaches inside the zone on a bar-by-bar basis.
A Retesting candidate resolves in one of two ways. If price closes back through the zone in its original direction by the confirmation displacement threshold, the retest is judged to have held and the candidate is discarded with no breaker created. If price instead closes through the opposite edge of the zone by the same displacement threshold, and the tracked penetration depth met a minimum percentage of the zone's height (the Retest Qualification Filter), the retest is judged to have failed and the order block is converted into a breaker in the opposite direction of its original bias.
Each confirmed breaker is then scored from 0 to 100 using six independent, user-weighted factors: the displacement strength of the invalidating structure break, the ATR-relative size of the original order block candle, how closely the retest penetration matched a user-defined ideal depth (scored on a curve, so both shallow touches and near-total breaches score lower than a clean mid-zone tag), the wick-rejection ratio of the confirming candle, how quickly the retest resolved relative to the retest window, and the ATR-normalized distance price traveled before returning to retest. The six sub-scores are combined using auto-normalized weights, so a breaker only appears on the chart, gets drawn, and triggers alerts if it clears the configured minimum quality threshold.
Confirmed breakers remain in an Active/Touched state until price closes through the far edge of the zone by the invalidation displacement threshold, at which point the zone is marked invalidated, visually dimmed, and removed after a configurable linger period. A hard maximum-age limit and a per-direction cap on active zone count prevent unbounded object growth.
Signal Workflow
Step 1 — a confirmed swing pivot forms and an order block candidate is registered from the qualifying source candle behind it.
Step 2 — the candidate waits in a Pending state until an opposing structure break (BOS/CHoCH) closes beyond the originating swing level.
Step 3 — once flipped, the candidate waits for price to re-enter the invalidated zone, entering the Retesting state and tracking maximum penetration depth.
Step 4 — the retest resolves: a displacement close back through the zone in the original direction discards the candidate, while a displacement close through the opposite edge with sufficient penetration confirms a breaker.
Step 5 — the confirmed breaker is scored across six weighted factors and only drawn, labeled, and alerted on if it meets the minimum quality threshold.
Step 6 — the active breaker zone extends forward until price closes through its far edge by the invalidation displacement threshold, at which point it dims and is scheduled for removal.
Why This Indicator Is Different
Most public order block or breaker scripts draw a zone the moment an order block is invalidated by a structure break, without separately validating whether the ensuing retest actually failed.
This script models breaker formation as an explicit four-state pipeline (source candle, pending, flipped, retesting) and only creates a zone after the retest resolves against its original direction with a minimum measured penetration depth.
The Breaker Quality Score converts six independently disclosed factors, including retest penetration depth scored on a curve around a configurable ideal value rather than a simple threshold, into a single adjustable ranking rather than a cosmetic label.
Quality-score weighting is fully exposed, allowing the ranking to be tuned toward structure strength, retest precision, wick rejection, confirmation speed, or impulse distance depending on the trader's approach.
Zone fill transparency scales with the quality score, so higher-ranked breakers render more opaque and lower-ranked ones fade into the background without adding separate visual elements.
An optional formation preview renders the retest phase of a candidate before it resolves, giving visibility into why a breaker did or did not form without permanently cluttering the chart.
Inputs
Structure Settings
Swing Pivot Length
Displacement Filter on Structure Break
Structure Break Displacement (x ATR)
ATR Length
Order Block Detection
Use Candle Body for Zone Boundaries
Min Order Block Size (x ATR)
Candidate Expiry (bars)
Volume Confirmation Filter
Volume MA Length
Volume Multiplier Threshold
Breaker Conversion Rules
Retest Window (bars)
Confirmation Displacement (x ATR)
Min Retest Penetration (%)
Quality Score
Filter Breakers by Quality Score
Minimum Quality Score
Ideal Retest Penetration Ratio
Advanced weight sliders for structure break strength, impulse size, retest precision, wick rejection, confirmation speed, and distance traveled
Visual Settings
Bullish/Bearish Breaker Colors
Min/Max Fill Transparency
Show Zone Midline
Show Quality Label
Label Size
Formation Preview toggle and color
Lifecycle & Cleanup
Max Active Breakers (per side)
Invalidation Displacement (x ATR)
Invalidated Linger (bars)
Max Breaker Age (bars)
Info Panel
Show Info Panel
Panel Position
Alerts
Alerts are available for:
Bullish Breaker Block formed
Bearish Breaker Block formed
Structure confirmation on breaker conversion
Price entering an active breaker zone
Breaker invalidated
Practical Usage
Use the info panel's structure bias reading as directional context before evaluating individual breaker zones.
Treat a fresh, high-quality breaker aligned with the prevailing structure bias as a potential continuation zone rather than a standalone entry signal.
Raise the minimum quality threshold on lower timeframes or noisy instruments to reduce the number of marginal zones drawn.
Use the retest penetration and displacement settings together to control how strict the failed-retest qualification is for your instrument and timeframe.
Combine the alert feed with a broader trade plan, since each alert marks a structural event, not an execution signal.
Limitations
Swing pivots require bars to form on both sides before they confirm, so structure breaks and order block placement are inherently delayed by the swing pivot length.
The order block source candle is located within a fixed lookback behind each pivot; if no qualifying candle exists in that window, no candidate is created for that pivot.
Quality scoring is a relative ranking based on disclosed, adjustable factors and does not predict the outcome of any individual breaker zone.
Volume-based filtering depends on the data provider's reported volume and may behave inconsistently on instruments with limited or unreliable volume data.
As with any structure-based tool, results will vary across instruments, timeframes, and market regimes.
Notes
This indicator is a market structure analysis tool intended to organize and rank breaker block formation through a disclosed, multi-stage validation process.
All structure breaks, state transitions, breaker confirmations, and invalidations are evaluated on confirmed bar closes only, so no element of the script repaints once drawn.
The output is intended to support structural analysis and is not a standalone buy or sell recommendation.
Indicator

Smart Money Concepts Liquidity Sweep, Order Block & FVGOVERVIEW
Every Smart Money indicator draws order blocks and tells you they work. This one scores them 0–100 and then forward-tests whether the score is actually true — on your instrument, on your timeframe.
It maps liquidity, detects stop-hunts, builds entry zones from the displacement that follows, confirms them with real order flow, and grades every zone that price returns to. Instead of "here is an order block, trust me", the panel tells you something like:
Tier-A zones returned +0.23R vs +0.08R for a matched control, n=61, t=2.1 — PROVEN
...or, just as usefully, NOT PROVEN. It is built to be able to tell you it doesn't work.
This is a research and framing tool. It is NOT a strategy, NOT a signal service, and NOT a validated edge.
WHY THESE PARTS ARE ONE TOOL (mashup rationale)
The Smart Money / ICT model is a SEQUENCE. Each step is meaningless on its own, and that is why they are combined here rather than sold as separate scripts:
1. LIQUIDITY POOLS — Stops cluster above equal highs (buy-side) and below equal lows (sell-side). Swing points within an ATR tolerance are clustered into a single pool; the more swings, the more stops resting there. A pool is not a signal. It is a magnet and a target.
2. THE SWEEP — Price wicks THROUGH the pool and closes back INSIDE it. That is a stop-hunt, and it is the only part of the sequence that reveals intent. A sweep alone is still not a trade.
3. DISPLACEMENT — An impulsive, ATR-normalised move away from the swept level. This is what separates a SWEEP (reversal) from a RUN (continuation).
4. THE ZONE — Displacement leaves footprints: a FAIR VALUE GAP (a three-bar imbalance) and an ORDER BLOCK (the last opposing candle before the impulse). Where an FVG sits INSIDE an order block, two independent structures agree — flagged as a confluence zone.
5. LOCATION — The zone is then judged on WHERE it sits. Against the VOLUME PROFILE (value area, point of control, and untested "naked" POCs), and against the DEALING-RANGE EQUILIBRIUM. A bullish zone in DISCOUNT is a zone you are being paid to buy; the same zone in premium is not.
6. ORDER FLOW — The question structure cannot answer: did anyone actually show up? Intrabar delta signs each lower-timeframe bar's volume by its own direction. A bullish zone born on NEGATIVE delta is a vacuum, not a footprint — and scores nothing for it.
7. THE ENTRY — Price is never chased. The engine arms only when price RETRACES into a fresh zone, then frames entry / stop / target — the target being THE NEXT OPPOSING POOL OF STOPS, because that is where the next batch of liquidity is resting.
8. THE CALIBRATION — Without it, everything above is folklore.
Remove any one of these and the tool marks noise, chases price, targets nothing, ignores where value actually is, or reports a confidence it has not earned.
THE SCORE (0–100, eight measurable components, no discretion)
Displacement strength ...... impulse body ÷ ATR — the energy behind the zone
Participation (RVOL) ....... volume at formation vs its own recent average
Born from a sweep .......... did a stop-hunt precede it? (the core ICT claim)
Imbalance size ............. FVG height ÷ ATR
HTF alignment .............. does the higher timeframe agree?
Premium / discount ......... bullish zone in DISCOUNT? bearish zone in PREMIUM?
Volume-profile location .... at value, at the POC, or at an untested POC?
Order flow (delta) ......... was the displacement backed by real aggressive flow?
Tiers: A (70+) · B (40–69) · C (below 40). Every weight is an input — if you think the sweep matters more than I do, turn it up, and let the calibration tell you whether you were right.
THE CALIBRATION — AND WHY IT IS HONEST
Every zone trade is paired with a MATCHED CONTROL: the same bar, the same direction, and the SAME R:R — but entered at market with an ATR stop instead of at the zone. This isolates exactly one variable: does entering AT THE ZONE beat entering anywhere else on identical geometry? Under a random walk, this control has zero expectancy, so anything the zones earn is real.
Each tier is tested against its OWN control, because an A-zone may carry a very different R:R from a C-zone, and a trade's hit rate depends on its R:R.
Results are reported as EXPECTANCY IN R, not hit rate. When R:R varies from trade to trade, a hit rate on its own is meaningless: a 6R winner at 20% is +0.4R (excellent), while a 1R winner at 55% is +0.1R (barely worth the commission).
A Welch t-test decides whether the difference is real or luck. The panel does not say "proven" unless t > 1.96.
The panel also answers the one question that matters most: DOES TIER A BEAT TIER C? If the scoring model has any value, A-grade zones must outperform C-grade zones. If they don't, the score is noise — and it will say so.
Conventions are deliberately chosen so the tool cannot flatter itself:
· Both barriers touched on the same bar → the STOP is assumed first.
· Expired trades are marked to market, not counted as wins or losses.
· Everything is logged and resolved on confirmed bars only.
HOW TO USE IT
1. Read the bias, the liquidity map, and the premium/discount shading. Pools above are buy-side, pools below are sell-side, and price usually travels from one to the other.
2. Wait for a SWEEP, then for a zone to be created by the displacement that follows.
3. Do NOT chase. The engine arms an entry only when price RETRACES into a fresh zone.
4. Watch for ABSORPTION at the zone — heavy volume, a small range, price holding. Someone is soaking up the aggression. That is a defended zone, and it is the best live confirmation available.
5. READ THE CALIBRATION BEFORE YOU WEIGHT ANY OF IT. If Tier A is not proven on your instrument and timeframe, a zone is a LOCATION, not a PROBABILITY — treat it as context only.
6. Entry / stop / target and the resulting R:R are drawn on the chart. They are arithmetic, not advice.
Do not tune the weights until the numbers turn green. That is curve-fitting, and the calibration exists to catch it — not to be defeated by it.
ORIGINALITY
The underlying SMC concepts are public and credited below. What is assembled here is the specific synthesis: an eight-component measurable score, the fusion of SMC structure with auction-theory location (volume profile and premium/discount), true intrabar order-flow confirmation, a per-tier matched control, expectancy-in-R reporting, and a significance test that can — and frequently does — return "not proven".
Clean-room implementation. No third-party Pine code is reused.
UNIVERSAL / DATA REQUIREMENTS
Works on any symbol and any timeframe — the engine is ATR-normalised throughout, so it adapts to the instrument rather than assuming point values.
Volume improves the score but is NOT required. On a symbol without real volume, the RVOL, volume-profile and order-flow components neutralise and the panel says so, rather than blanking or pretending.
Intrabar delta requires a timeframe strictly below the chart's. The script AUTO-MAPS this (1m→5s, 3m→15s, 5m→30s, 15m→1m, and so on) because if the intrabar timeframe equals the chart timeframe there is only ONE intrabar — the bar itself — and delta degenerates to ±100% on every bar. Where true intrabar data is unavailable, the script falls back to a close-location proxy AND LABELS IT AS A PROXY in the panel.
NON-REPAINTING
Pools, sweeps, displacement, zones, the volume profile, absorption and entries are ALL computed on confirmed bars only.
Swing points use ta.pivot* and are therefore known only AFTER their confirmation bars. This is why a liquidity pool appears a few bars after its swing. That delay is the honest cost of not repainting, and it is paid deliberately — a level that moves after the fact is worse than no level at all.
The higher-timeframe read uses lookahead_off with a live-bar offset. The calibration harness logs AND resolves on confirmed bars, so its statistics cannot inflate intrabar. Nothing here is drawn and then moved.
HONEST LIMITATIONS — PLEASE READ
Smart Money Concepts is a popular framework, not a proven one. That is precisely why this script measures it instead of asserting it.
The calibration figures are IN-SAMPLE, close-to-close, with NO costs or slippage, and they use overlapping windows. A proven in-sample edge is NOT a guarantee of out-of-sample results.
The rolling volume profile is an APPROXIMATION — each bar's volume is spread uniformly across the bins its range covers. It is not tick data.
Small samples are unreliable. A tier with a low "n" is provisional even if it looks good.
If the edge is near zero, negative, or unstable across timeframes, the honest conclusion is that this model carries no edge on that instrument. The tool is designed to be able to tell you that, and you should believe it when it does.
Nothing here predicts price.
CONCEPT CREDITS
Smart Money / ICT concepts — liquidity pools, stop-hunts, displacement, fair value gaps, order blocks, premium/discount and optimal trade entry — are public trading concepts popularised by Michael J. Huddleston (Inner Circle Trader) and the wider SMC community.
Market Profile, the point of control and the value area — J. Peter Steidlmayer and the CBOT.
Market structure theory — Charles Dow.
Average True Range — J. Welles Wilder.
Wilson score interval — Edwin B. Wilson.
Triple-barrier forward labelling — Marcos López de Prado.
Welch's t-test — B. L. Welch.
The zone-scoring model, the order-flow fusion, the per-tier matched control and the tier calibration are the author's own. Not affiliated with, nor endorsed by, any of the above.
DISCLAIMER
This is a research and educational tool only. It is NOT financial advice, NOT a recommendation, and offers NO guarantee of profitability or accuracy. Indicators describe past behaviour; they do not predict the future. Entry, stop and target output is arithmetic, not advice. Trading carries a risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use of this script. Indicator

Flops - OrderblocksDescription
The Advanced Flops - Orderblock indicator is a sophisticated, algorithmic supply and demand tracking system. It dynamically identifies trend-following institutional structures by detecting "Flops" (often known as Orderblocks) in real-time, visualizing exact areas where momentum aggressively shifted.
Instead of relying on a rigid, single-candle definition, this engine operates on a multi-timeframe perspective natively. It simultaneously evaluates 1-Candle, 2-Candle, and 3-Candle breakout logic on every single bar to validate structural breaks and paint flawless institutional supply/demand zones on your chart.
🎯 How It Works: The 1, 2, 3 Logic
The engine evaluates the market looking for a sequence of momentum candles that break structure against the previous opposing candle. By running the 1, 2, and 3-candle logic simultaneously, the script guarantees it catches both immediate V-shape reversals (1-candle) and slower, grinding structural breaks (3-candle) without drawing overlapping or duplicated zones.
Bullish ( Flops - Orderblock ): Formed when the price forcefully breaks the high of the last bearish candle. This indicates newly created demand.
Bearish ( Flops - Orderblock ): Formed when the price forcefully breaks the low of the last bullish candle. This indicates newly created supply.
✨ Key Features
Simultaneous Multi-Candle Logic: Runs three independent sequence checkers at the exact same time to ensure no valid Orderblock is ever missed.
Dynamic Mitigation Engine: Active zones project forward indefinitely into future price action until they are touched or closed through (customizable).
Single Mitigated Memory: A sleek visual feature that automatically deletes old, invalidated zones. It keeps only the absolute last mitigated zone on your chart to show you the most recent point of failure, without cluttering your screen with historical noise.
Trend Deactivation: The script understands market structure. If the dominant trend fully flips (e.g., from Bullish to Bearish based on a 3-candle sequence), all opposing active ( Flops - Orderblock ) zones are immediately deactivated and labeled as "Trend Flip", preventing you from taking trades against a confirmed structural shift.
Boundary Customization: Choose exactly how you want your Orderblock zones measured—either wick-to-wick (High/Low) or body-to-body (Open/Close).
⚙️ Settings
Flop Boundary: Define zones using full Wicks or strictly Candle Bodies.
Mitigation Mode: Choose whether a zone is invalidated the moment a wick "Touches" it, or only when a candle "Closes" fully through the zone.
Show Only Last Mitigated Flop: Keep your charts clean by automatically erasing old mitigated lines and only leaving the single most recent mitigated Orderblock on the chart.
Deactivate on Trend Flip: Automatically invalidate all active supply zones if the macro trend shifts bullish (and vice versa).
Full Visual Control: Customize colors, line widths, line styles (solid, dashed, dotted), and label visibility to fit your exact chart aesthetic. Indicator

Power Order Blocks [ChartPrime]🔶 OVERVIEW
Power Order Blocks is an advanced structural detection engine designed to identify high-probability supply and demand zones. Unlike standard order block indicators, this tool focuses on "Power" — the intensity of the displacement following the block's formation, combined with a live information panel, equilibrium mapping, and touch tracking built directly into each zone.
It identifies the specific candle where institutional participants likely placed large orders, marks the resulting price inefficiency, and tracks these zones in real time until they are either mitigated or invalidated.
🔶 CORE CONCEPT — THE DISPLACEMENT VALIDATOR
The foundation of a "Power" Order Block is the displacement that follows it. For a zone to be considered valid, the market must move away from it with significant force.
The script uses a Displacement Multiplier to ensure quality:
• It compares the size of the engulfing candle to the previous candle's range.
• If the breakout candle isn't large enough relative to the setup candle, the zone is ignored.
• This filters out low-conviction market noise and focuses on areas of true institutional sponsorship.
🔶 THE POWER RATING SYSTEM
Every detected block is assigned a "Power" percentage. This rating provides immediate context regarding the strength of the move that created the zone.
• Calculation: The indicator compares the current displacement candle against the largest candle observed over a 100-bar lookback .
• Meaning: A 100% Power rating indicates the strongest displacement seen in recent history, suggesting a massive imbalance between buyers and sellers.
• Visual Intensity: When Power Intensity is enabled, the fill color of each block becomes more vivid as its Power % increases. High-power zones are immediately visible at a glance — weaker zones fade into the background naturally.
This allows traders to prioritize "High Power" zones, which typically offer more significant structural support or resistance.
🔶 DYNAMIC ZONE MANAGEMENT
The indicator manages zones dynamically to keep the chart clean and relevant:
Bullish Order Blocks (Demand): Formed when a bearish candle is followed by a high-displacement bullish candle. The zone is invalidated if price closes below the bottom of the block.
Bearish Order Blocks (Supply): Formed when a bullish candle is followed by a high-displacement bearish candle. The zone is invalidated if price closes above the top of the block.
Overlapping Cleanup: If a new order block forms that significantly overlaps an existing one, the script automatically removes the older, redundant zone to prevent clutter.
Block Limit: A maximum of 10 active blocks per side are tracked at any time, ensuring chart performance remains clean.
🔶 THE INFO PANEL
Each active Order Block renders a dedicated Info Panel — a secondary box that floats at the right edge of the zone and updates in real time.
The panel displays:
• Zone Direction: "Bullish OB" or "Bearish OB"
• Power %: The relative displacement strength at the time of formation
• Touch Counter: How many times price has tapped the zone boundary without breaking it
The touch counter is particularly valuable — a zone that has been tested multiple times without breaking demonstrates strong institutional defense and may represent a higher-conviction setup.
🔶 EQUILIBRIUM LINE
When Show Equilibrium Line is enabled, a line is drawn at the exact midpoint (50% level) of each Order Block.
• This level represents the theoretical "fair value" within the zone.
• Price often reacts precisely at the equilibrium before continuing in the original direction.
• It provides a refined entry reference within a wider zone, improving risk-to-reward on entries.
🔶 RETEST SIGNALS (MITIGATION)
When Show Retest Labels is enabled, the script monitors active zones for price interaction.
• If price returns to touch the boundary of a Bullish OB without breaking it, an upward arrow ⇡ appears below the bar.
• If price returns to touch the boundary of a Bearish OB without breaking it, a downward arrow ⇣ appears above the bar.
• A minimum 10-bar cooldown between signals prevents label spam on extended zone interactions.
• Each confirmed retest also increments the Touch Counter inside the Info Panel.
🔶 VISUAL ELEMENTS
Main OB Body: A filled rectangle spanning the order block's price range, extending forward in time. Fill intensity reflects the Power % when Power Intensity is enabled.
Info Panel: A secondary box at the right edge of each zone displaying Power % and Touch Count, updated live.
Equilibrium Line: A midpoint line inside each block marking the 50% level of the zone.
Retest Arrows: Clean arrow labels (⇡ / ⇣) marking the first tap into an active zone.
Color Coding: Fully customizable colors for Bullish (Demand) and Bearish (Supply) zones.
🔶 HOW TO USE
Entry Zones: Wait for price to return to a high-power zone. The Retest Arrow confirms the touch. Consider entries near the equilibrium line for tighter stops.
Zone Prioritization: Use the Power % to filter setups. Zones rated 70%+ represent the strongest institutional imbalances and are generally more reliable.
Touch Count Context: A zone with 0 touches is fresh and untested — typically the highest probability. Zones with multiple touches may be weakening.
Trend Confirmation: In a healthy trend, the market should consistently create and respect Power Order Blocks in the direction of the trend.
Stop Loss Placement: Order blocks provide logical structural levels for stops — just below a Bullish OB bottom or above a Bearish OB top.
Confluence: Combine the Power Rating, Equilibrium Line, and Touch Count together for the highest-quality setups.
🔶 SETTINGS REFERENCE
Displacement Multiplier: Controls how aggressive the displacement filter is. Higher values require a stronger engulfing move to validate a zone.
Bullish / Bearish OB Color: Set the fill color for each zone type.
Text Color: Controls the color of text inside the Info Panel.
Show Equilibrium Line: Toggles the midpoint line inside each block.
Power Intensity: When enabled, fill transparency scales with Power % — stronger zones appear more vivid.
Show Retest Labels: Toggles the ⇡ / ⇣ arrow labels on zone interactions.
🔶 CONCLUSION
Power Order Blocks provides a systematic way to map institutional footprint on the chart. By combining strict displacement validation with a relative power rating, live info panels, equilibrium mapping, and touch tracking, it transforms raw price action into a clear and actionable map of supply and demand imbalances — allowing traders to trade alongside the strongest market moves with precision and confidence. Indicator

Indicator

Big Order Candle DetectorBig Order Candle Detector (BOCD) – Explanation & Usage
The Big Order Candle Detector (BOCD) is an indicator designed to identify potential large institutional order activity in the market. It focuses on detecting strong price displacement, which may signal the early stage of a trend.
This structure allows the indicator to capture moments where price moves aggressively, often without overlap with previous price ranges. Such behavior can indicate the presence of strong buying or selling pressure.
How Big Order is Detected
A Bullish Big Order is identified when the current candle’s low is higher than the high of Candle A. This indicates a clear gap or displacement upward, suggesting strong buying interest.
A Bearish Big Order, on the other hand, occurs when the current candle’s high is lower than the low of Candle A, reflecting strong downward pressure.
To reduce noise, the script only marks the first Big Order signal when multiple signals appear consecutively. This ensures cleaner and more meaningful signals.
Visual Representation on Chart
The indicator provides several visual elements to assist analysis:
Triangle Signals
Green triangle → Bullish Big Order
Red triangle → Bearish Big Order
→ Represents early momentum or possible trend initiation
Highlighted Candle (Orange)
→ Considered the origin of the move or liquidity zone
Support & Resistance Box
Drawn based on the high and low of Candle A
→ Acts as a reaction zone for future price movement
Strategy & How to Use
This indicator is best used as a supporting tool for price action analysis, not as a standalone trading signal.
BUY Scenario (Bullish Setup)
When a bullish Big Order appears, it suggests that strong buying momentum has entered the market. Instead of entering immediately, traders typically wait for price to retrace.
Approach:
Wait for price to pull back into the support box, Look for confirmation signals before entering
Confirmation Examples:
Bullish candlestick pattern (e.g., engulfing, pin bar)
Minor break of structure
Increase in volume
Trade Plan:
Entry: Inside the support box (after confirmation)
Take Profit: Nearest resistance zone or previous high
Stop Loss: Below the support box
SELL Scenario (Bearish Setup)
In a bearish setup, the indicator signals strong selling pressure. Similar to the bullish case, traders wait for a retracement rather than chasing the move.
Approach:
Wait for price to move back into the resistance box, Look for signs of rejection
Confirmation Examples:
Bearish rejection candle
Formation of lower high
Weak bullish momentum
Trade Plan:
Entry: Inside the resistance box (after confirmation)
Take Profit: Nearest support zone
Stop Loss: Above the resistance box
Key Concept Summary
Big Order = Strong displacement (possible institutional activity)
Triangle = Signal of momentum
Orange Candle = Origin zone
Box = Key support/resistance area
Retracement = Entry opportunity
Confirmation = Risk control
Important Considerations
This indicator:
Does not guarantee winning trades
Should not be used alone
Always combine with:
Risk management
Market structure analysis
Additional confirmation tools
In practice, BOCD works best as:
A decision-support tool to identify high-probability zones, rather than a direct buy/sell system. Indicator

ICT Smart Money Footprint [AGPro Series]ICT Smart Money Footprint
🔷 OVERVIEW
ICT Smart Money Footprint is a multi-timeframe price action engine that maps institutional liquidity behavior directly onto your chart. It combines higher-timeframe reaction zones (BSL/SSL) derived from swing pivots with candle-by-candle lower-timeframe footprint states — Liquidity Grab, Displacement, and Reclaim — into one cohesive visualization. A live panel tracks session bias, daily event counts, and zone lifecycle, giving price action traders a complete context window for ICT-style analysis across every timeframe.
🧭 UNIQUE EDGE
Most Smart Money Concept indicators plot every swing as a zone, producing cluttered charts that obscure the very structure they aim to reveal. This tool takes a different route. It separates the question "where is liquidity?" (answered at HTF with wide, contextual zones) from "what is price doing right now?" (answered at LTF with footprint labels). The two layers communicate through a single panel and a shared color palette, so the trader always sees both the macro landscape and the tactical footprint without layering multiple scripts. Priority filtering ensures only the highest-conviction event is printed per bar, and confluence windowing prevents label clustering.
⚙️ METHODOLOGY
The script runs two parallel engines.
The HTF Zone Engine pulls pivot highs and lows from a higher timeframe using request.security with lookahead disabled. Each confirmed pivot anchors a reaction zone sized by HTF ATR × 1.5, ensuring natural visibility on any chart view. Buy-Side Liquidity (BSL) zones form above price at pivot highs; Sell-Side Liquidity (SSL) zones form below price at pivot lows. Zones extend right via line.new with extend.right and a linefill between the two edges. When price tags a zone, the zone is marked mitigated: its lines switch to dashed style, width drops, color fades, and right extension freezes at the touch point.
The LTF Footprint Engine evaluates each confirmed candle for three events. Liquidity Grab triggers when price sweeps the prior LTF swing with a buffer and closes back inside range in the opposite direction. Displacement triggers when candle range exceeds ATR × multiplier and the candle breaks the prior bar's extreme. Reclaim triggers when price recovers a recently lost swing level within a 20-bar window. A priority filter (DISP > LG > REC) prints only the strongest event per bar and direction. A session bias score accumulates these events and resets daily, tinting the chart background and updating the panel in real time.
📡 SIGNALS & ALERTS
Six alert conditions are built in:
• Liquidity Grab (bull or bear)
• Displacement (bull or bear)
• HTF Mitigation (any zone tagged)
• Reclaim (bull or bear)
• Bias Turned Bullish
• Bias Turned Bearish
All alerts include ticker and interval placeholders for multi-chart monitoring.
🎛️ KEY INPUTS
HTF Source — Auto scales the higher timeframe to your chart (15m→4H, 1H→D, 4H→W, 1D→M), or pick a manual HTF.
HTF Pivot Length — controls strength threshold of liquidity zones.
HTF Zone Height (ATR x) — default 1.5; tune for wider or tighter zones.
LTF Pivot Length — swing sensitivity for LG and REC detection.
Displacement ATR Multiplier — default 2.0; raise for only the most explosive candles.
Sweep Buffer — extra cushion above or below swing levels for LG qualification.
Confluence Window — suppresses back-to-back same-direction labels.
Session Bias Band — subtle background tint reflecting daily event accumulation.
Panel Location, Theme, Font Size — full control over on-chart presentation.
🧩 HOW TO USE
Start with your normal trading timeframe. The HTF Source set to Auto will anchor the zones to a relevant higher timeframe. Watch how price interacts with the BSL and SSL zones: unmitigated HTF zones act as liquidity targets and reaction areas, while mitigated (dashed) zones mark where liquidity has already been absorbed.
Use the LTF footprint labels to read the tactical story inside those zones. A Liquidity Grab near an SSL zone hints at institutional accumulation. A Displacement candle after an LG often precedes a structural shift. A Reclaim of a recently lost level signals inducement and potential continuation. The panel's Session Bias gives you a running directional read; when it flips, an alert can fire.
Traders typically combine this tool with their own execution framework: HTF zones for bias and target selection, LTF footprints for timing and confirmation. The indicator provides the map; risk management, entry rules, and position sizing remain the trader's responsibility.
⚠️ LIMITATIONS & TRANSPARENCY
This indicator is an analytical mapping tool, not a trading strategy. It identifies structural patterns and plots them for visual analysis.
HTF zones rely on request.security with lookahead disabled, which means new zones appear only after the HTF pivot is fully confirmed — this introduces a natural lag consistent with non-repainting practice but means some reactions may occur before the zone is drawn.
LTF footprint labels are confirmed on bar close. Intrabar signals during live bars may flicker until the bar closes.
Different market conditions produce different zone densities. Ranging markets generate more mitigated zones; trending markets leave more unmitigated zones above or below price. Use the Max Active Zones input to cap chart clutter.
Past structural patterns do not guarantee future outcomes. Liquidity sweeps can mark reversals or simply precede continuation moves. Always validate signals with your own analysis and broader market context.
📌 RISK DISCLOSURE
This script is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any asset. Trading involves substantial risk of loss. Past performance does not guarantee future results. Users are solely responsible for their trading decisions, risk management, and position sizing. The author assumes no liability for any outcome arising from the use of this indicator. Indicator

Rejection Block Quality [AGPro Series]Rejection Block Quality
🔹 OVERVIEW
Rejection Block Quality is an ICT-inspired detector that identifies long-wick rejection candles at swept swing pivots and grades each block by objective quality criteria. Unlike Order Block logic — which anchors to the last opposite-direction body before displacement — a Rejection Block (RB) is born from a wick that pierces a prior swing liquidity pool and closes back inside it, with the body confirming displacement on the follow-through bar. The rectangle is drawn from the wick base to the candle body, capturing the exact zone where smart money absorbed the sweep.
🎯 UNIQUE EDGE
Three design choices separate this tool from generic wick or order block indicators:
• Swing-pivot sweep requirement — a rejection is only counted when price sweeps a confirmed swing high or low before the reversal close. Stand-alone wick patterns without liquidity context are filtered out.
• Displacement confirmation window — the candle following the rejection must travel at least 0.6× ATR in the reversal direction, within a 1–5 bar lookahead. No displacement, no block.
• Quality tiering (A / B / C) from three orthogonal factors — wick-to-body ratio, displacement magnitude, and untested freshness. An exceptional wick ratio (≥5× body) promotes a block to A tier regardless of other scores, preserving rare high-conviction rejections.
🛠️ METHODOLOGY
Detection pipeline on every bar:
1. Confirm a pivot sweep using a user-configurable lookback (default 5 bars each side).
2. Check the wick-to-body ratio against a minimum threshold (default 1.8×), with the dominant wick on the sweep side.
3. Queue the candle as a pending block and wait for displacement confirmation.
4. Measure displacement as price travel from the body reference over 1 to 5 bars, normalized by ATR.
5. On confirmation, draw the RB zone from the wick base to the body, record the tier, and begin lifecycle tracking.
Zone lifecycle tracks four events — test (price enters the zone), hold (price exits without a body close through the far edge), break (body close through the far edge), and near miss (price approaches within a configurable ATR band without entering). All events are edge-detected to prevent inflated counts when price lingers near a zone.
📊 SIGNALS & ALERTS
• New block formation label — A / B / C tier plus wick ratio, placed with anti-collision offset.
• Test markers (T) — one per zone entry event, with cooldown to prevent visual clutter.
• Break markers (B) — placed when a zone is invalidated by a body close.
• Wick border highlight — thick colored line on the originating rejection candle.
• Alerts — configurable minimum tier (A, B, or C) fires once per bar close for each qualifying new block.
⚙️ KEY INPUTS
• Detection — Pivot Length, Min Wick-to-Body Ratio, ATR Length, Min Displacement (× ATR), Displacement Confirm Window.
• Zone Management — Max Active Zones per Side, Zone Right Extension, Near-Miss Distance, Near-Miss Cooldown, Break Requires Full Body Close.
• Visuals — Show Zones, Show Tier Labels, Highlight Rejection Wick Border, Show Test / Hold / Break Markers, Zone Fill Opacity, Label Font Size.
• Panel — Show Panel, Panel Location, Panel Font Size, Panel Theme (Dark / Light).
• Alerts — Minimum Tier for Alerts.
🧭 HOW TO USE
Start on a higher timeframe (4H or 1D) to identify macro RB zones, then drill down to execution timeframes for entries. Treat A-tier blocks as the highest-conviction zones, B-tier as situational, and C-tier as context-only. Combine with trend filters, higher-timeframe structure, and risk management — a Rejection Block is a zone of interest, not a standalone buy or sell signal. Use the panel statistics to evaluate how the selected symbol and timeframe have historically respected these zones before committing to them in live decision-making.
⚠️ LIMITATIONS & TRANSPARENCY
This indicator is a structural detector, not a trading strategy. It does not forecast price direction, generate entry or exit orders, or calculate position sizing. The Success Rate statistic reflects how often past tests on detected zones held versus failed within the visible history — it is a descriptive metric, not a performance projection. Zone detection is historical and reactive: a block only appears after the displacement bar closes, so interpretation on live-forming bars is tentative. Performance varies by symbol, timeframe, and market regime.
⚠️ RISK DISCLOSURE
Trading involves substantial risk of loss. Past behavior of any pattern does not guarantee future outcomes. Use this tool as part of a complete analytical framework that includes your own risk management, position sizing, and broader market context. Nothing in this indicator or description constitutes financial advice. Indicator

Unicorn Model Detector [AGPro Series]Unicorn Model Detector
Overview
The Unicorn Model Detector identifies one of the most discussed setups in Inner Circle Trader (ICT) and Smart Money Concepts literature: the Unicorn Model. A Unicorn forms when a Breaker Block and a Fair Value Gap (FVG) overlap inside the same price zone — a pocket where prior swing liquidity has been swept and an unfilled imbalance still exists at the retest. The detector scans for these overlaps, tracks every occurrence through its full lifecycle, and reports aggregate statistics in a compact on-chart panel. It is a detection and bookkeeping tool, not a trading strategy.
Unique Edge
Most breaker and FVG scripts publish either zones in isolation or require the user to eyeball the overlap. This detector does the overlap match automatically and only draws a zone when both conditions are present on the same chart area with the same directional bias. A strict causality rule is enforced — the Breaker must form first (after liquidity sweep) and the FVG must appear during or after the retest, which matches the true ICT Unicorn definition. A pairing that consumes a given breaker and FVG is removed from future candidate pools, so the chart never stacks redundant zones from the same source structure. A Loose overlap mode is also provided for users who prefer an ATR-based proximity interpretation instead of strict geometric intersection.
Methodology
1. Swing pivots are detected with a configurable left/right length using ta.pivothigh and ta.pivotlow.
2. When a confirmed pivot forms, the body range of the pivot bar is stored as the potential Breaker source zone.
3. A Breaker Block is registered when price closes through the previous-bar swing level in the opposite direction.
4. A Fair Value Gap is registered when a 3-bar formation produces an unfilled imbalance (low > high for bullish, high < low for bearish) and the gap exceeds a user-defined ATR multiple.
5. A Unicorn is spawned when a same-direction Breaker zone and FVG zone overlap vertically AND the FVG formed at or after the Breaker (causality check).
6. A configurable cooldown prevents consecutive spawns from clustering, improving signal hygiene.
7. The overlap rectangle becomes the tracked zone. Zone mid is the reference entry, the stop is placed 0.4 times the zone height beyond the structure boundary, and the target is projected at the user-defined R-multiple.
Signals & Alerts
Four independent alert conditions are exposed:
- New Unicorn Detected — a fresh bullish or bearish Unicorn has just formed.
- Unicorn Triggered — price has entered the overlap zone of a pending Unicorn.
- Target Hit — a triggered Unicorn has reached its R-multiple target.
- Stop Hit — a triggered Unicorn has been invalidated at its stop level.
All alerts fire once per bar close and include the ticker and timeframe in the payload.
Key Inputs
- Swing Pivot Length (default 7) — left/right length used for pivot confirmation.
- Breaker Lookback (default 80 bars) — maximum age for a broken swing to remain a valid Breaker.
- FVG Minimum Size (default 0.25 x ATR) — noise filter for 3-bar imbalances.
- Overlap Mode (Strict / Loose) — geometric intersection vs ATR-tolerance match.
- Reward-to-Risk Target (default 2.0) — multiple used to project the target level.
- Max Active Pending Unicorns (default 3) — chart-cleanliness cap.
- Cooldown After Signal (default 30 bars) — minimum spacing between consecutive spawns.
- Invalidate on Close Through Zone (default off) — optional tighter invalidation rule.
- Visual controls — show/hide per lifecycle state, label size, zone opacity, max recent labels.
- Panel controls — show/hide, location (6 positions), theme (Dark/Light), text size.
How to Use
1. Add the indicator to any timeframe; higher timeframes (1H, 4H, 1D) tend to produce structurally more meaningful Unicorns.
2. Watch for a new Unicorn zone to appear. Pending zones are drawn in the directional state color with a bold border; triggered ones switch to the indigo accent color; TP / SL / Expired zones fade to their respective colors with a thinner border.
3. Each zone carries a tethered flag label outside the price axis — Bullish labels below, Bearish labels above — so they never overlap candles.
4. The panel reports running counts of pending and active Unicorns, historical win rate, average R per setup, and total completed.
5. Use the displayed entry / target / stop reference lines as a structural map for your own analysis. The tool does not place orders and does not recommend position sizing.
6. Combine with higher-timeframe bias (trend, session context, HTF structure) before acting on any zone.
Limitations & Transparency
- The detector is a structural scanner, not a forecasting engine. It reports what has formed, not what will happen.
- Swing detection depends on pivot length; shorter lengths generate more noise, longer lengths miss smaller structures.
- Statistics are calculated on-chart from historical bars loaded by PulseWire and will vary with timeframe, symbol and data range.
- Realtime behaviour: zones are drawn on confirmed events (bar close for breaks, 3-bar-complete for FVGs). Some invalidations are evaluated intrabar on wick touches of the stop level.
- The script is open-source under Mozilla Public License 2.0. Users are encouraged to inspect and adapt the methodology.
Risk Disclosure
This indicator is provided for educational and analytical purposes only. It is not financial advice, a trading signal service, or a strategy. Past structural patterns do not guarantee future outcomes. Trading involves substantial risk of loss; readers are solely responsible for their own decisions and risk management. Indicator

Breaker Block Engine [AGPro Series]Breaker Block Engine
Overview
Breaker Block Engine is a dedicated detection and tracking tool for one of the
most misunderstood concepts in Smart Money trading: the Breaker Block. A
breaker block is an order block that has failed and flipped role — a bearish
order block broken upward now behaves as bullish support, and a bullish order
block broken downward now behaves as bearish resistance. The engine does not
just draw them; it validates each break with displacement strength, tracks
every retest, scores how well each breaker has held its role, and surfaces the
dominant bullish and bearish breakers through a clean info panel.
Unique Edge
Most breaker block scripts stop at drawing a flipped zone. This engine goes
further:
- Each break is validated using an ATR-scaled close-based displacement filter,
optionally combined with above-average volume confirmation, to reject weak
wick-based breaks.
- Every retest of a breaker is counted and evaluated as Held or Lost, and the
state label on the chart shows a live retest hold percentage for each
breaker (for example "Bull Breaker | Held x6 (100%)").
- An invalidation buffer prevents single-wick noise from prematurely killing
otherwise healthy breakers, while genuinely violated zones fade into a gray
"Lost" state and are removed from tracking shortly after.
- Intra-side and cross-side confluence grouping automatically clean up
overlapping labels so the chart stays readable even when several breakers
cluster within half an ATR.
- The info panel summarises the whole picture in one glance: dominant side,
active counts per side, nearest breaker distance in both price and ATR
multiples, and overall retest hold percentage.
Methodology
1. Swing Detection. Confirmed pivot highs and pivot lows are identified using
a configurable pivot length. These pivots anchor the search for order
block candidates.
2. Order Block Candidate. For each confirmed pivot high, the script walks
back up to ten bars looking for the last bearish candle — this is the
bearish order block candidate. The symmetrical process identifies bullish
order block candidates around pivot lows.
3. Break Validation. A candidate is promoted to a breaker only when price
closes past the opposite edge of the order block by at least a
user-defined ATR multiple (default 0.75 × ATR). An optional volume
confirmation filter can additionally require the break candle to trade
above its volume moving average.
4. Retest & Hold Scoring. After formation, each breaker is checked every bar.
If price re-enters the zone and the close respects the breaker's intended
direction, a Hold is recorded; otherwise the retest is counted but not
held. A minimum bar spacing prevents consecutive bars of a sustained
retest from inflating the counter.
5. Invalidation. If price closes past the far edge of the breaker by more
than the invalidation buffer (in ATR), the breaker is marked Lost,
visually faded, and removed from active tracking after a short grace
period.
6. Confluence Grouping. On the most recent bar, breakers whose mid-points
sit within max(0.5 × ATR, 0.5 % of price) of each other have their
overlapping state labels resolved: dead labels yield to alive labels,
older labels yield to newer ones. A cross-side pass prevents stale
opposite-side labels from sitting on top of active ones.
Signals & Alerts
The script provides three alert events:
- New Breaker: fires on the bar a bullish or bearish breaker is confirmed.
- Retest Hold: fires when price retests an active breaker and the close
respects the zone direction.
- Invalidation: fires when an active breaker is broken in the opposite
direction beyond the invalidation buffer.
On-chart signals include the zone itself (coloured by side), a small
directional triangle at the break point, and a dynamic state label on the
right edge showing the breaker's test count and hold percentage.
Key Inputs
- Swing Pivot Length: bars on each side used to confirm swings. Higher values
produce fewer but structurally stronger swings.
- Max Active Breakers per Side: hard cap on simultaneously tracked bullish
and bearish breakers; oldest are pruned when the limit is reached.
- Displacement Strength: ATR multiple required for a close-based break to
validate. Higher values produce fewer, stronger breakers.
- Require Volume Confirmation: when enabled, the break candle must trade
above its volume moving average.
- Invalidation Buffer: ATR buffer added beyond the breaker edge before the
breaker is considered invalidated. Prevents wick-based noise kills.
- Min Bars Between Retests: minimum bar spacing between consecutive retests
of the same breaker, keeping counters from inflating on sustained visits.
- Zone Transparency, Colours, Label & Panel Sizes: full visual control.
- Panel Location, Theme, Far Zone Threshold: the info panel can be placed in
any of six positions, switched between Dark and Light theme, and the
threshold for labelling distant zones as "Far" is user-configurable.
How to Use
- On mid-to-high timeframes (15m and up), leave the defaults. The engine is
tuned for 15m to 4h out of the box but works on any timeframe and
instrument.
- Use the state label hold percentage as a quality gauge. A breaker with a
long history of holds (for example "Held x6 (100%)") has demonstrated
institutional interest at that level; a breaker with mixed results deserves
more caution.
- Use the panel to orient quickly. If the dominant side is Bullish and the
nearest bullish breaker sits within a fraction of an ATR, the chart is in
a supportive regime for long bias; if both nearest values show "Far",
price is floating between structures and caution is warranted.
- Combine with higher-timeframe context. A bullish breaker on the 1h that
aligns with a bullish breaker on the 4h is a stronger zone than either
alone.
Limitations & Transparency
- This is an indicator, not a strategy. It draws zones and tracks their
behaviour; it does not generate buy or sell orders, manage positions, or
calculate performance statistics against a price series.
- Pivot-based detection is inherently lagging by the pivot length: a swing
is only confirmed once the configured number of bars have printed past it.
- Results depend on input choices. Different displacement multipliers, pivot
lengths, and retest gaps will produce different breaker sets. The defaults
are a starting point, not a recommendation.
- No indicator can guarantee future behaviour. A breaker that has held ten
times in the past can fail the next time it is tested.
Risk Disclosure
This script is provided for educational and research purposes only. It is not
financial advice and does not constitute a recommendation to buy, sell, or
hold any instrument. Trading carries substantial risk of loss. Users are
solely responsible for their own trading decisions and risk management. Past
behaviour of a breaker, or of any zone shown by this script, does not
guarantee future results. Indicator

AG Pro Order Block Reaction Quality [AGPro Series]AG Pro Order Block Reaction Quality
OVERVIEW / WHAT IT DOES
AG Pro Order Block Reaction Quality is an overlay tool designed to organize how price interacts with displacement-origin order block zones. The script identifies the last opposite candle before a strong impulsive move, projects that candle as a bullish or bearish order block, and then tracks whether price later respects, reacts to, or invalidates that zone.
The goal is not to treat every order block as equally important. Instead, the script focuses on reaction quality. When price revisits a tracked zone, the script evaluates the behavior around that revisit and converts the response into a structured quality score. This helps separate zones that produce cleaner reactions from zones that fail, weaken, or transition into breaker behavior.
The indicator is built as a chart-organization tool, not as a prediction engine. It is intended to help users study where impulsive moves originated, how later revisits behaved, and whether those revisits showed clean rejection, weak response, or invalidation. In that sense, the script is less about drawing boxes and more about mapping reaction structure around previously important displacement areas.
Because order block concepts are often displayed in a highly subjective way, this script uses deterministic conditions to reduce ambiguity. Impulse detection, order block selection, reaction-window scoring, and breaker conversion all follow rules-based logic. The objective is to make price interaction around those zones easier to inspect, compare, and review across different market conditions.
UNIQUE EDGE
Many order block tools focus mainly on detection. They draw a bullish or bearish block, then leave the interpretation to the user. This script adds an evaluation layer on top of that detection process. Rather than only asking where an order block exists, it also asks how convincingly price reacted when that zone was revisited.
That difference matters. Two zones may look similar at first glance, but the quality of the revisit can be very different. One revisit may reject cleanly and preserve the zone, while another may penetrate deeply, stall, or fully invalidate. By assigning reaction scores and grade-style labels, the script helps organize those differences visually.
The script also distinguishes active order blocks from breaker behavior. If a previously tracked zone is invalidated, the visualization shifts from standard order block context into breaker context. This adds structural continuity to the chart and helps users see when an old reaction area has lost its original character.
In practical use, the unique edge is the combination of three layers: impulsive-origin zone detection, revisit-based reaction scoring, and breaker-state continuity. Together, those layers aim to give traders a cleaner framework for studying order block behavior than a simple box-drawing approach.
METHODOLOGY
1) Impulse detection
The script first searches for strong directional candles whose range is large relative to ATR and whose move exceeds a recent breakout threshold. This is used as a rules-based approximation of displacement or impulsive participation.
2) Order block definition
Once an impulsive move is detected, the script searches backward for the last opposite candle inside a configurable lookback window. That candle becomes the source order block. Depending on settings, the zone can be projected using the full candle range or the candle body only.
3) Zone persistence and revisit tracking
After a zone is created, the script tracks whether price later trades back into it. That first interaction is important because it provides the data needed to evaluate how the revisit behaved.
4) Reaction quality scoring
When price revisits the zone, the script measures the behavior inside a reaction window. The score is based on factors such as entry precision into the zone, the magnitude of rejection away from the zone, structural integrity of the zone during the test, and the strength of the originating impulse. Those components are combined into a normalized score.
5) Grade translation
The raw score is then translated into a visual grade tier. This is meant to improve chart readability and allow faster comparison between zones that produced stronger versus weaker reactions.
6) Breaker conversion
If price invalidates a zone after it has been engaged, the script can treat that structure as a breaker block. This keeps prior structural context on the chart instead of simply removing it.
7) Visual organization
Bullish zones, bearish zones, and breaker structures are displayed with separate color families so users can distinguish standard order block context from post-invalidation context more quickly.
SIGNALS & ALERTS
The script includes alerts for newly detected bullish and bearish order blocks. These alerts are event-based and are intended to mark when a new candidate zone has been identified according to the script’s internal impulse and source-candle rules.
In addition, the visual state of the chart provides three broad categories of information:
- Active bullish or bearish order blocks that remain structurally valid.
- Breaker blocks that represent previously tracked zones after invalidation.
- Quality-scored reactions that help compare the strength of revisits.
These states should be interpreted as structural context, not as standalone trade instructions. A bullish order block on the chart does not guarantee a long setup, and a bearish order block does not guarantee a short setup. The script is designed to help users study reaction behavior around important zones, not to replace execution rules, risk management, or broader market context.
KEY INPUTS
ATR Length
Controls the volatility baseline used in impulse sizing and reaction calculations.
Impulse Size (x ATR)
Defines how large a move must be, relative to ATR, before it is treated as an impulsive displacement event.
OB Search Bars Back
Controls how far back the script looks for the last opposite candle that becomes the source order block.
Zone Mode
Lets the user choose whether zones are based on the full candle range or the candle body only.
Max Zones Tracked
Limits how many zones remain in memory and on the chart.
Zone Max Age (Bars)
Removes older zones after a defined number of bars so the chart does not grow indefinitely cluttered.
Reaction Window (Bars)
Defines the number of bars used to evaluate how price behaves after a zone is revisited.
Zone Extend (Bars)
Controls how far zones project into the future for chart visualization.
Show 50% Midline
Displays an internal midpoint inside the zone for users who want an additional internal reference.
Show Impulse Markers
Shows or hides impulse-origin markers on the chart.
Label Size
Controls the size of chart labels.
Panel Theme / Panel Font Size / Panel Position
These settings control the visual appearance and placement of the information panel.
LIMITATIONS & TRANSPARENCY
Order block analysis is inherently interpretive, and any script that formalizes it must impose strict rules. That means the script’s logic is intentionally selective. It will not match every discretionary order block definition used by every trader.
The script uses a specific rules-based approximation of impulse, source candle selection, revisit handling, and reaction scoring. As a result, some zones that a discretionary analyst might manually highlight will not appear, while some zones shown by the script may not align with every subjective framework.
Reaction quality is also dependent on the configured reaction window and the selected volatility context. Changing settings can change how aggressive or conservative the script becomes. For that reason, the indicator should be treated as a structured analytical model rather than an objective statement of market truth.
Breaker behavior shown by the script reflects the script’s invalidation logic only. It does not imply that a breaker block will necessarily act as support or resistance in the future. It simply preserves structural history after the original order block state is lost.
This indicator does not use volume profile, order flow, DOM data, or external market microstructure feeds. All calculations are derived from chart data available inside Pine Script.
RISK DISCLOSURE
This script is for chart analysis, research, and educational use. It does not provide financial advice, investment recommendations, or guaranteed outcomes.
No indicator can reliably predict future price movement on its own. Order block reactions may fail, clean-looking zones may break, and high scores do not ensure continuation or reversal. Market context, liquidity conditions, volatility regime, timeframe selection, and execution quality all matter.
Users should test settings carefully, apply independent judgment, and use appropriate risk management. This script should be treated as a decision-support tool for studying price interaction around displacement-origin zones, not as a standalone trading system.
Indicator

Supply & Demand: Cumulative Volume Delta Flow [ChartPrime]🔶 OVERVIEW
The Supply & Demand: CVD Flow indicator is a high-performance structural analysis tool that merges classic price-action Supply and Demand (S&D) zones with real-time order flow data.
Unlike traditional S&D indicators that only show price boxes, this tool embeds a Cumulative Volume Delta (CVD) Wave directly inside every active zone. This allows traders to see not just where the market turned, but the intensity of the volume delta that has accumulated within that zone since its creation.
🔶 CORE CONCEPT — VOLUME DELTA WITHIN STRUCTURE
Supply and Demand zones represent areas where a significant imbalance between buyers and sellers occurred.
Demand Zones: Created when a bearish "base" candle is followed by a high-momentum bullish breakout.
Supply Zones: Created when a bullish "base" candle is followed by a high-momentum bearish breakout.
By integrating CVD, the indicator tracks the net buying vs. selling volume (Delta) that occurs as price lives within or returns to these zones. This provides a "live" look at whether a zone is being defended by big players or if interest is fading.
🔶 THE CVD FLOW WAVE (POLYLINE ENGINE)
The standout feature of this indicator is the CVD Polyline Wave drawn inside the boxes:
Visualizing Order Flow: The wave oscillates within the zone's boundaries based on cumulative volume delta.
Demand CVD (Cyan): A rising wave suggests aggressive market buying is supporting the demand zone.
Supply CVD (Orange): A falling wave suggests aggressive market selling is reinforcing the supply zone.
Real-time Updates: The wave and the numerical CVD value in the label update dynamically with every bar, providing a clear view of the "Volume Flow" inside the structure.
🔶 SMART DETECTION & MITIGATION
To maintain technical accuracy and chart clarity, the script employs several advanced management logic:
ATR-Based Momentum: Breakouts are validated using a Momentum Multiplier . A zone is only formed if the breakout candle is significantly larger than the recent Average True Range (ATR), ensuring only high-conviction moves are captured.
Overlap Protection: The script automatically checks for redundant zones. If a new zone forms over an existing one, it filters the overlap to keep the chart clean.
Dynamic Mitigation: A Demand Zone is deleted instantly if price closes below its bottom (failed demand). A Supply Zone is deleted instantly if price closes above its top (failed supply).
🔶 INDICATOR INPUTS
ATR Length & Momentum Multiplier: Fine-tune the sensitivity of zone detection. Higher multipliers filter for "Power" breakouts.
Max Active Zones: Limits the number of zones displayed to prevent performance lag and visual clutter.
Custom Colors: Full control over zone fills, borders, and the internal CVD wave colors.
Show Signals: Toggle the "△" and "▽" markers that appear at the moment of breakout.
🔶 HOW TO USE
Zone Validation: When price returns to a Demand zone, look at the CVD label. If the CVD is strongly positive and the wave is rising, it indicates that buyers are actively defending the level.
Absorption Detection: If price is sitting in a Demand zone but the CVD wave is making lower lows, it may indicate "absorption"—where sellers are exhausting the available buy orders, potentially leading to a zone failure.
Targeting: Use Supply zones as logical take-profit areas for longs, and Demand zones for shorts, while using the internal CVD flow to judge if price is likely to bounce or break through.
🔶 CONCLUSION
Supply & Demand: CVD Flow represents a new evolution in structural trading. By moving beyond simple price boxes and incorporating a high-fidelity Cumulative Volume Delta engine, it gives traders an "X-ray" view of the order flow dynamics driving supply and demand.
It is an essential tool for traders who want to combine the reliability of market structure with the precision of volume-based order flow analysis. Indicator

Indicator

Impulse Block [BeNice]# Impulse Block — PulseWire Publication Description
Use this text when publishing the indicator on PulseWire. Paste it into the "Description" field.
---
## 🔲 Impulse Block
**Impulse Block ** automatically detects and visualizes **Suspension Blocks** — high-probability price zones formed when three conditions align on three consecutive candles:
1. **Directional Alignment** — Three consecutive bullish (or bearish) candles confirm momentum.
2. **Volume Imbalance (VI)** — A gap between the close of one candle and the open of the next reveals institutional order flow.
3. **Fair Value Gap (FVG)** — An unfilled price gap confirms aggressive displacement.
When all three conditions fire simultaneously, the indicator draws a precise zone on the chart highlighting where smart money has left a footprint.
---
### ✦ Key Features
**Institutional Level Confluence**
Each zone is automatically cross-referenced against key HTF levels — Daily, Weekly, Monthly, Quarterly, Yearly Open/High/Low/EQ — and optionally Monday Range. When a zone overlaps with institutional levels, the confluence is displayed directly inside the box (e.g., `W EQ x2 (0,-1)`), giving you instant confirmation of zone strength.
**Smart Zone Filtering**
Five selection modes let you control which zones stay visible:
- *All (Recent Max)* — Show the most recent zones up to your limit.
- *Closest Bull/Bear* — Only the nearest bullish and bearish zones.
- *Closest Above/Below* — Nearest zone above and below current price.
- *Best OHLC-EQ Bull/Bear* — Prioritize zones with the highest institutional confluence.
- *Hybrid (Closest + Best)* — Combine proximity and confluence for the best of both worlds.
**Inversion Tracking**
If price aggressively closes through a zone within a configurable window, the zone flips its bias — modeling the Smart Money concept of mitigation-to-inversion.
**Historical Confluence Scanning**
Optionally scan past HTF periods (e.g., the last 24 daily opens) for deeper confluence analysis on each zone.
**Sub-Zone Visualization**
Toggle individual visual layers: Main Zone, Volume Imbalance boxes, FVG box, and Equilibrium (EQ) midpoint line.
---
### ✦ How to Use
1. **Add to chart** — zones appear automatically when the three-candle pattern is confirmed.
2. **Check confluence text** — zones with institutional level labels (e.g., `D Open`, `M High`) are statistically stronger.
3. **Use filtering** — switch to *Best OHLC-EQ* or *Hybrid* mode for a clean, high-conviction chart.
4. **Set alerts** — get notified when a new bullish or bearish suspension block forms.
5. **Combine** — pair with your own entry model (order blocks, breaker blocks, liquidity sweeps) for confluence-based trading.
---
### ✦ Settings Overview
| Group | Description |
|---|---|
| **Performance** | Max zones, zone selection mode |
| **General** | Direction bias (Auto / Bull / Bear) |
| **Display** | Toggle main zone, VI, FVG, EQ line, colors |
| **Inversions** | Enable/disable inversion tracking and window |
| **Institutional Levels** | Choose which HTF levels to scan (H4–Yearly + Monday), previous periods, historical depth |
| **Alerts** | Bull/Bear formation alerts |
---
### ✦ Notes
- Works on all markets and timeframes.
- For lower timeframes (1m–15m), reduce *Max Active Zones* for best performance.
- This is a non-repainting indicator — zones are confirmed only on bar close.
- Not financial advice. Use as a confluence tool within your own trading framework.
Indicator

Order Blocks Rejection Stats [RT]This indicator identifies Order Blocks based on price action. It draws rectangular zones on the chart for visual identification and highlights bounces (rejections) within these zones. Additionally, it provides optional trade visualization with entry, stop-loss (SL), and take-profit (TP) lines based on user-defined filters, along with a performance summary table for backtesting purposes.
The logic is inspired by smart money concepts (SMC), focusing on pivot zones where price may reverse or continue.
Note that this is a technical tool for analysis only; it does not provide trading signals or guarantees any outcomes.
Key Features
Order Block Detection: Automatically detects and draws bullish (demand) and bearish (supply) order blocks using predefined price action setups.
Bounce Identification: Marks rejections (bounces) at order blocks with triangles for quick visual cues.
Trade Visualization: On bounces meeting filter conditions, plots entry (at close), SL (at block extremity or candle open), and TP (based on adjustable risk-reward ratio) lines. Lines extend until SL or TP is hit, with arrows indicating hits (green for TP, red for SL).
Filters: Includes a customizable moving average (MA) for trend confirmation (e.g., long above MA), time window for session-based trading, and optional SL adjustment to the bounce candle's open.
Performance Table: Displays wins, losses, and win rate in a table (for educational backtesting; not real-time trading results).
Customizable Colors and Sizes: User inputs for line colors and table text size.
Inputs and Settings
Delete Order Blocks After Fill: Removes blocks after price breaks through them.
Order Block Extension Length: Sets how far blocks extend (0 for infinite).
Moving Average Settings: Length, type (SMA/EMA/etc.), and source for trend filter.
Time Filter: Start/end hours/minutes to restrict entries to specific sessions.
Use Bounce Candle Open for SL: Moves SL to the open of the confirming candle.
Risk Reward Ratio: Adjusts TP distance relative to risk (default 1:1).
Line Colors: Separate colors for long/short entry, SL, and TP lines.
Table Text Size: Options from "tiny" to "huge" for the stats table.
How It Works
Block Formation: Scans for pivot setups (e.g., engulfing or break patterns) to create new blocks, queuing them for future retests.
Bounce Detection: When price overlaps a block and forms a reversal pattern, it's marked as a bounce.
Entry Conditions: Entries trigger on bounces above/below the MA and within the time window. Lines are drawn and extended dynamically.
Exit Tracking: Monitors if price hits TP (win) or SL (loss), updates the table, and stops line extension.
Table Update: Shows cumulative stats on the last bar for review.
This indicator can be used on any timeframe or asset for zone-based analysis. Experiment with settings to suit your chart.
Important Disclaimer
This is an educational tool and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always conduct your own analysis and use proper risk management. The developer makes no representations about profitability or suitability for any trading strategy. Indicator

Smart Money Engine [WillyAlgoTrader]Smart Money Engine (SME) is a comprehensive overlay indicator that automates the core elements of Smart Money Concepts (SMC) analysis: multi-layer market structure detection (BOS / CHoCH), order block identification with strength grading, fair value gap tracking with fill monitoring, inverse FVG generation, and auto-anchored Fibonacci retracement — all in a single, unified tool.
Rather than stacking five separate indicators on your chart — one for structure, one for OBs, one for FVGs, one for IFVGs, and one for Fibonacci — SME integrates these components so they share a common structural context. Order blocks are created at actual structure break points, FVGs are filtered against volatility, IFVGs are born from filled FVGs, and the Fibonacci grid automatically anchors to the current strong high and strong low. Every component is aware of the others, producing a cleaner and more logically consistent chart than layering independent tools.
🔍 WHAT MAKES IT ORIGINAL
1. Dual-layer structure detection (Swing + Internal). The indicator runs two independent pivot-based structure engines simultaneously. The Swing layer (configurable length, default 10) captures major market structure — the higher-timeframe trend. The Internal layer (shorter length, default 5) captures minor structure shifts within the swing trend. Both label BOS (Break of Structure — continuation) and CHoCH (Change of Character — reversal) independently. This dual-layer approach lets you see whether an internal CHoCH is happening against or with the swing trend — a key distinction in SMC methodology that single-layer tools miss.
2. Order Blocks with contextual grading (A / B / C). OBs are not placed at arbitrary candles. They are created only when a swing-level BOS or CHoCH occurs — the script walks back from the break to find the last opposite-colored candle (the institutional candle that initiated the move). Each OB is then graded:
— Grade A : OB overlaps with an FVG and has a volume spike (highest confluence)
— Grade B : OB has one confluence factor (volume spike OR FVG overlap)
— Grade C : basic OB without additional confluence
Grading helps you prioritize which zones to trade from. OBs extend until mitigated (user choice: close-based or wick-based mitigation), and each OB displays a Consequent Encroachment (CE) midline — the 50% level that often acts as the reaction point within the block.
3. Fair Value Gaps with ATR auto-filter and fill tracking. FVGs are detected using the classic three-candle gap method (current low > high two bars ago for bullish, inverse for bearish). A built-in ATR filter (enabled by default) suppresses FVGs smaller than 0.5× ATR, removing the micro-gaps that clutter charts on lower timeframes. Each FVG extends until fully filled, displays a CE midline, and is automatically removed once price closes through the gap.
4. Inverse FVG (IFVG) generation. When an FVG is fully filled by price, it doesn't just disappear — it transforms into an Inverse FVG with flipped bias. A filled bullish FVG becomes a bearish IFVG (potential resistance); a filled bearish FVG becomes a bullish IFVG (potential support). This captures the SMC concept that once institutional imbalance is filled, the zone can flip polarity. IFVGs are displayed with distinct dashed borders and tracked until mitigated by a close through their zone.
5. Auto-anchored Fibonacci retracement. The Fibonacci grid automatically spans from the current Strong High to Strong Low — the trailing extremes of the active swing structure. When a new BOS/CHoCH shifts the structure, the anchor points update and the grid repositions. The OTE (Optimal Trade Entry) zone between 0.5 and 0.618 is highlighted, giving you an immediate visual reference for the premium/discount equilibrium.
6. Strong / Weak High and Low levels. After each structural break, the indicator identifies the trailing high and low as either "Strong" or "Weak" based on their position relative to the current trend direction. In a bullish swing, the low that initiated the trend is the Strong Low (protected) and the high is the Weak High (target). These levels are extended forward as dashed lines, providing clear reference for where the trend is protected and where it is vulnerable.
⚙️ HOW IT WORKS
Structure detection:
Swing pivots are identified using ta.pivothigh() and ta.pivotlow() with the configured lookback length. The script maintains the most recent swing high and swing low. When price closes above the previous swing high (confirmed bar close, no mid-bar signals), it registers a bullish break. If the prior trend was bearish, this is labeled CHoCH (reversal); if bullish, it is labeled BOS (continuation). The same logic applies in reverse for bearish breaks. Internal structure uses an identical algorithm with a shorter lookback, and its labels are drawn with dashed lines and lighter opacity to visually distinguish them from swing-level events.
Order Block detection:
When a swing-level break is confirmed, the script scans backward (up to 30 bars) from the pivot that was broken to find the last candle with opposite polarity — the candle whose body direction opposes the break direction. The full range (high to low) of that candle becomes the OB zone. A volume spike check (volume > 1.5× 20-period SMA) adds confluence for grading. OBs extend right until the mitigation condition is met.
FVG detection:
On every confirmed bar, the script checks whether the current bar's low exceeds the high of two bars ago (bullish FVG) or the current high is below the low of two bars ago (bearish FVG). If the gap size passes the ATR filter, an FVG box is created. The box extends right each bar. If price fills the gap completely (low touches the bottom of a bullish FVG, or high touches the top of a bearish FVG), the FVG is removed and — if IFVG mode is enabled — queued for conversion to an Inverse FVG.
HTF trend filter:
An optional higher-timeframe EMA(50) filter provides directional bias. The HTF data is fetched using request.security() with confirmed-bar referencing ( + lookahead_on pattern) to prevent repainting. When enabled, the dashboard displays the HTF bias, and the confluence can factor into OB grading.
Anti-repaint compliance:
All structure breaks, OB creation, and FVG detection require barstate.isconfirmed — signals fire only after the bar closes. The HTF filter uses the standard non-repainting security call pattern. No future data is accessed.
📖 HOW TO USE
Reading the chart:
— HH / HL / LH / LL labels at swing points classify the market structure
— Solid horizontal lines with BOS or CHoCH labels = swing-level structure breaks
— Dashed lines with BOS/CHoCH = internal (minor) structure breaks
— Colored boxes = Order Blocks (green-tinted = bullish, red-tinted = bearish)
— Letter labels (A/B/C) on OBs = strength grade
— Dotted midline inside OBs = Consequent Encroachment (CE)
— Blue-tinted boxes = bullish FVGs; orange-tinted = bearish FVGs
— Dashed-border boxes labeled IFVG = Inverse Fair Value Gaps
— Dotted horizontal Fibonacci lines with OTE zone highlight = auto retracement grid
— Dashed trailing lines labeled "Strong High/Low" or "Weak High/Low" = structural extremes
Suggested workflow:
— Identify the swing trend direction from BOS/CHoCH labels and Strong/Weak levels
— Check if internal structure aligns with or diverges from swing structure
— Look for entry opportunities at Order Blocks (prioritize Grade A/B) within the Fibonacci OTE zone
— Use FVGs as additional confluence — a bullish OB that overlaps a bullish FVG is a higher-probability zone
— Monitor IFVGs for polarity-flipped zones that may act as new support/resistance
— Use the dashboard to track active OB/FVG/IFVG counts and HTF bias alignment
Timeframe guidance:
— Scalping (1–5min): Swing Length 5–7, Internal 3, increase Max OBs/FVGs for more zones
— Intraday (15min–1H): Swing Length 8–12, Internal 5, default settings work well
— Swing (4H–Daily): Swing Length 15–25, Internal 7–10, reduce Max OBs to keep chart clean
— Use the HTF filter with 1 step up (e.g. 1H chart → 4H HTF, 4H chart → D HTF)
⚙️ KEY SETTINGS REFERENCE
— Swing Detection Length (default 10): lookback for major structure pivots
— Internal Structure Length (default 5): lookback for minor structure pivots (should be < Swing Length)
— OB Mitigation (default Wick): "Close" = OB removed on close through zone; "Wick" = removed on any touch
— Show OB Grade (default On): display A/B/C strength classification on OBs
— Show OB Midline (default On): display CE (50%) line inside order blocks
— Auto-Filter Small FVGs (default On): suppress FVGs smaller than 0.5× ATR
— Max Visible OBs / FVGs / IFVGs (default 5 each): cap on displayed zones to manage chart clutter
— Show Inverse FVGs (default Off): enable IFVG generation from filled FVGs
— Show Fibonacci Retracement (default On): auto-anchored grid with OTE zone highlight
— HTF Trend Filter (default Off): set a higher timeframe for directional bias via EMA(50)
— Volume Confirmation (default On): add confluence when volume > 1.5× average (auto-disabled on forex)
📊 Dashboard
The info panel (adjustable to any chart corner) displays in real time:
— Swing trend direction (Bullish / Bearish)
— Internal trend direction
— Fibonacci range (Strong High — Strong Low)
— Count of active OBs, FVGs, and IFVGs
— HTF bias (if enabled)
— Current timeframe and indicator version
⚠️ IMPORTANT NOTES
— This indicator does not repaint. All signals and zone creations require bar-close confirmation. The HTF filter uses the standard + lookahead_on non-repainting pattern.
— SME is a structural analysis and zone-mapping tool — it identifies where institutional activity likely occurred, but it does not generate explicit buy/sell signals. Trade decisions should incorporate your own entry triggers, risk management, and additional confluence.
— Past structure patterns and zone reactions do not guarantee future price behavior.
— Performance may vary across instruments and timeframes. Lower timeframes produce more zones and structure shifts; use the ATR filter and Max Visible caps to manage noise.
— The indicator works across all asset classes. Volume-based features (OB grading) are automatically adjusted on instruments without volume data. Indicator

Market Structure Break & OB Probability Toolkit [LuxAlgo]The Market Structure Break & OB Probability Toolkit indicator provides an institutional framework for identifying high-probability liquidity zones and significant market structure transitions using momentum-based filters and volume analysis.
🔶 USAGE
The indicator aims to provide a systematic approach to structural analysis, allowing traders to identify clear institutional footprints. By integrating statistical filters, the tool helps isolate high-conviction signals from market noise.
🔹 Market Structure Breaks (MSB)
Unlike standard fractal-based breaks, the MSB logic in this toolkit utilizes a Momentum Z-Score filter . This ensures that structural shifts are only highlighted when price breaks a pivot with significant conviction.
Pivot Lookback: Custom sensitivity for identifying swing highs and lows.
Volatility Filtering: Only breaks exceeding the statistical threshold are labeled, helping traders avoid low-momentum fakeouts.
🔹 Institutional Order Blocks (OB)
The script automatically detects and manages Order Blocks based on the candle preceding an MSB. Every zone includes a Point of Control (POC) line for precise entry or target consideration.
Standard OBs: Formed during structural transitions, representing potential institutional interest.
High-Probability OBs (HP-OB): Zones identified with exceptionally high impulse and volume signatures (score > 80%). These are visually distinct to highlight their increased significance.
🔹 Session Range Integration
Traders can track the ranges of the London, New York, Tokyo, and Sydney sessions. This allows for the identification of structural breaks occurring at session extremes or during high-liquidity windows.
🔹 Strategy Application
Trend Direction: Identify the prevailing bias through MSB signals. A bullish MSB followed by a retracement into a Bullish OB provides a classic institutional entry scenario.
Zone Confluence: Look for High-Probability OBs that align with Session Highs/Lows for increased trade conviction.
Re-test Analysis: Enable "Extend Broken OBs" to see how price interacts with flipped liquidity zones.
🔶 DETAILS
The toolkit utilizes several advanced logic components to maintain chart clarity and analytical depth:
Intelligent Mitigation Logic: Active zones are managed in real-time. Traders can choose between "Historical" (shows all past zones) or "Present" (shows only active zones) display modes.
Mitigated Extension: A specialized feature to extend recently broken zones, allowing for re-test analysis of formerly active liquidity.
Overlap Filter: Option to hide overlapping Order Blocks to maintain a clean, actionable chart.
🔹 Analytics Dashboard
The built-in dashboard provides a real-time performance suite:
OB Reliability: A percentage-based efficiency metric tracking how many detected zones have been successfully mitigated by price.
High-Prob Zone Count: A live counter of active HP-OBs currently remaining on the chart.
🔶 SETTINGS
🔹 Market Structure
Pivot Lookback: Defines the sensitivity of the market structure detection by adjusting the lookback period for pivots.
MSB Momentum Z-Score: Sets the statistical threshold for a price move to be considered a valid structural break.
🔹 Visuals
Display Mode: Toggles between showing historical mitigated zones or only currently active ones.
🔹 Order Blocks
Max Active OBs: Controls the maximum number of blocks stored and displayed on the chart.
Extend Broken OBs: If enabled, recently mitigated blocks will remain visible to observe potential re-tests.
Hide Overlapping OBs: Removes redundant zones that occupy the same price area as existing ones.
🔹 Sessions
Show Session Ranges: Global toggle for session visualizations.
Session Toggles: Individual controls to enable London, New York, Tokyo, or Sydney ranges with custom time and color inputs.
Institutional trading concepts and Smart Money Concept (SMC) indicators involve significant risk. This tool is designed for educational and analytical purposes. Past performance is not indicative of future results. Indicator

Indicator

Indicator

Support & Resistance IndicatorThe MACD Support & Resistance indicator is an enhanced tool to better visualize potential supply (resistance) and demand (support) zones based on the MACD indicator. It combines the strength of the MACD with recent price highs and lows to depict potential breakout or reversal areas in the market.
Features:
MACD Settings: Users can adjust the fast length, slow length, source of MACD, signal smoothing, and MA type for both the oscillator and the signal line.
Dynamic Color Settings: Customize the color of supply boxes, demand boxes, and closed boxes for improved visualization.
Table View: An optional table can be displayed showing the average MACD high and low values, with customizable table position, size, background color, and text color.
Historical MACD Average: The indicator uses a historical average of MACD pivot highs and lows to determine potential support and resistance zones.
Real-Time Zone Detection: The indicator plots 'High Boxes' when the MACD crosses above its average high and 'Low Boxes' when it crosses below its average low, which signifies potential breakout or reversal zones.
How It Works:
The MACD line is calculated using user-defined moving average types (either EMA or SMA).
Pivot highs and pivot lows of the MACD are identified over a specified period.
Historical MACD highs and lows are stored and managed for average calculation. The average MACD high and low values are then used to determine potential trading zones.
When the MACD crosses over its average high, a 'High Box' (representing a potential breakout zone) is plotted from the recent high price to the candle top.
Conversely, when the MACD crosses under its average low, a 'Low Box' (indicating a potential reversal zone) is plotted from the recent low price to the candle base.
As price progresses, the boxes can either extend (if price stays within the zone) or close if a breakout happens.
For those who prefer a tabular view, an optional table displays the average MACD high and low, enhancing the on-chart data representation.
Use Cases:
Traders can use this indicator as an additional tool to spot potential breakout or reversal areas based on the MACD's behavior against its historical average. The visual representation in the form of boxes can assist in making better trading decisions by offering a clear picture of potential supply and demand zones.
Note: As with all trading indicators, it's advisable to use this tool in conjunction with other technical analysis methods or indicators for more informed decision-making. Indicator

Indicator

Indicator
