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.
Order-block
ICT Fair Value Gap (FVG) Detector │ Auto-Mitigated │ 2025Accurate ICT / Smart Money Concepts Fair Value Gap (FVG) detector
Features:
• Detects both Bullish (-FVG) and Bearish (+FVG) using strict 3-candle rule
• Boxes automatically extend right until price mitigates them
• Boxes auto-delete when price closes inside the gap (true mitigation)
• No repainting – 100% reliable
• Clean, lightweight, and works on all markets & timeframes
• Fully customizable colors and transparency
How to use:
– Bullish FVG (green) = potential support / buy zone in uptrend
– Bearish FVG (red) = potential resistance / sell zone in downtrend
Exactly matches The Inner Circle Trader (ICT) methodology used by thousands of SMC traders in 2024–2025.
Enjoy and trade safe!
NX - ICT PD ArraysThis Pine Script indicator identifies and visualizes Fair Value Gaps (FVGs) and Order Blocks (OBs) based on refined price action logic.
FVGs are highlighted when price leaves an imbalance between candles, while Order Blocks are detected using ICT methodology—marking the last opposing candle before a displacement move.
The script dynamically tracks and updates these zones, halting box extension once price interacts with them. Customizable colors and lookback settings allow traders to tailor the display to their strategy.
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.
Auto Order Block by D. BrigagliaThis indicator finds trend following engulfings, and draws order blocks based on the 1st candle's range (the first candle of the engulfing pattern).
It does filter the trend with simple moving averages of 21 and 55 periods, but it doesn't filter for retracements in the trend (you should consider only the order blocks that are coming from engulfings after a retracement)




