Fractal Pullback Market Structure
Jul 15, 2025

The Fractal Pullback Market Structure indicator is a price action tool designed to visualize internal structure shifts and Break of Structure (BoS) events by leveraging fractal pullback logic to identify market swing points. This tool helps traders confirm directional changes and validate structural trend developments with high precision on the chart.
Usage
The indicator identifies swing highs and lows based on fractal behavior and connects them using zigzag lines. It automatically labels these points as Higher High (HH), Higher Low (HL), Lower High (LH), or Lower Low (LL).
- Internal Shifts: These are highlighted using triangle symbols. A bullish shift occurs when a fractal pullback logic is met following a downward move, while a bearish shift occurs after an upward move.
- Break of Structure (BoS): Confirmed when price closes beyond the most recent swing high or low. The indicator draws a horizontal line at the breakout level to help traders visualize the validation of a new trend.
- Fibonacci Retracements: Users can enable Fibonacci levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0) that automatically project from the most recent swing points to identify potential retracement zones.
Details
The script uses a lookback period to define the sensitivity of pullback detection. It calculates market structure by searching for "swingpoint" highs and lows where the price has pulled back significantly enough to meet the fractal criteria. The internal shifts act as early warning signs, while the BoS confirmation requires a candle close beyond the previous structural extreme to prevent false signals from simple liquidity grabs.
Settings
General Settings
- Lookback Period: Sets the number of bars used to determine the fractal pullback sensitivity.
- Use Safe History Offset Limit?: A toggle to cap how far back the script looks to prevent buffer errors.
- Max Safe History Offset: The maximum number of bars the script will look back for structural calculations.
Visuals
- Width of Lines: Adjusts the thickness of the zigzag and BoS lines.
- ZigZag Line Color/Style: Customizes the appearance of the lines connecting swing points.
- BOS Line Color/Style: Customizes the appearance of bullish and bearish Break of Structure lines.
Fibonacci
- Show Downtrend/Uptrend Fibonacci Lines: Toggles the visibility of retracement levels.
- Fibonacci Colors: Individual color pickers for each standard Fibonacci ratio level.
Alerts
- Alert Mode: Filters alerts into three categories: Low Timeframe (LTF), Medium Timeframe (MTF), and High Timeframe (HTF).
- Swing Highs & Lows: Enables alerts for HH, HL, LH, and LL labels.
- BoS: Enables alerts for Break of Structure events.
- Internal Shifts: Enables alerts for triangle symbols indicating internal structural changes.
FAQ
How do I use this for trend trading? You can use the BoS lines to confirm trend continuation and the HH/HL labels to identify an uptrend, or LL/LH labels to identify a downtrend.
What timeframe is best for this indicator? The indicator is adaptive; you can adjust the lookback period to suit your timeframe, though it is commonly used on the 15m, 1H, and 4H charts for SMC strategies.
How can I access Fractal Pullback Market Structure? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.