Premium guide · Structure
GapAlgo SMC Pro
Order blocks, fair value gaps, structure breaks and liquidity in one script.
What it does
The full smart money picture without stacking five scripts: order blocks with fair value gap confluence, fair value gaps, break of structure and change of character, liquidity sweeps, equal highs and lows, and every unswept swing high and low as buy side and sell side liquidity.
It only draws on recent price action and keeps a small number of each object active, so the chart stays readable.
How it works
| Part | What it does |
|---|---|
| Structure | Swing highs and lows (8 bars by default) define structure. A break in the trend's direction is a BOS. The first break against it is a CHoCH. |
| Order blocks | The last opposite candle before the move that broke structure. When a fair value gap from the same move overlaps it, the block is tagged OB+FVG. |
| Liquidity | Unswept swing highs are BSL and swing lows are SSL. Two swings at nearly the same price are EQH or EQL. A wick through any of them that closes back inside is a sweep. |
Key settings
Names as they appear in the indicator's settings, with the default value.
Swing Detection Length
Default: 8
How sensitive structure is. It feeds BOS, CHoCH and order block placement.
Order Block Lookback (bars) / Max Active Order Blocks
Default: 15 / 2
How far back to look for the origin candle, and how many blocks stay active each side.
Highlight OB + FVG Confluence
Default: On
Solid border and OB+FVG tag on blocks with an overlapping gap.
Min Gap Size (x ATR) / Max Active FVGs
Default: 0.15 / 2
Filters out tiny gaps and limits how many stay on the chart.
Show Liquidity Sweeps / Show Equal Highs / Equal Lows / Show Main Liquidity Levels (BSL / SSL)
Default: All on
Each liquidity layer switches on and off separately.
Equal Level Tolerance (x ATR)
Default: 0.10
How close two swings must be to count as equal.
Compact Mode
Default: On
Plain text tags instead of filled label bubbles.
Only Draw Within Last N Bars
Default: 200
Keeps the drawings to recent price action.
How to read it
- Green or red box, dashed border = an order block. Solid, thicker border with OB+FVG = an order block backed by a fair value gap from the same move.
- Blue box = bullish fair value gap. Orange box = bearish fair value gap.
- BOS on a dashed line = structure broken in the trend's direction. CHoCH on a solid line = the first break against the trend.
- Dashed BSL and SSL lines = resting liquidity at unswept swing highs and lows. Dotted EQH and EQL lines = equal highs and lows.
- Sweep, BSL Swept, SSL Swept, EQH Swept, EQL Swept = price just took that liquidity and closed back inside.
Alerts
- Bullish and bearish BOS.
- Bullish and bearish CHoCH.
- New bullish or bearish fair value gap.
- Bullish and bearish liquidity sweeps.
To set one up, click Alert on the TradingView toolbar, choose GapAlgo SMC Pro as the condition, then pick the alert you want.
Tip
The strongest sequence stacks all of it: a sweep of BSL, SSL or equal levels, then a CHoCH the other way, then price returning to an OB+FVG block. Take the liquidity, reverse, return to the origin.
For education and information only. No outcome is promised, and nothing here is financial advice.