SMC Order Blocks + BOS/CHoCH + FVG + Liquidity
This is a comprehensive Smart Money Concepts (SMC) indicator that detects institutional order flow patterns: Order Blocks (zones where institutions placed large orders), Break of Structure (BOS) confirming trend continuation, Change of Character (CHoCH) signaling trend reversal, Fair Value Gaps (FVG) showing imbalance, and liquidity sweeps (stop hunts). It requires at least 2 of 3 SMC conditions to align before generating a signal.
How It Works
Swing highs/lows are detected using a configurable lookback. The indicator tracks HH/HL/LH/LL structure sequences. BOS fires when price closes beyond the last swing high (bullish) or low (bearish). CHoCH fires when the structure sequence reverses. Bullish Order Blocks are the last down-candle before a strong up-move that breaks structure. FVGs are price gaps between bar i-2 and bar i. Liquidity sweeps are wicks beyond swing points that close back inside.
Entry Signals
- Bullish: BOS confirmed OR CHoCH to bullish + Price returns to bullish OB + Sweep below swing low → BUY (2+ of 3)
- Bearish: BOS confirmed OR CHoCH to bearish + Price returns to bearish OB + Sweep above swing high → SELL (2+ of 3)
- No-Trade: Price in middle of range, no structure break, no OB retest
Exit Signals
- ✕TP: ATR-based TP or opposite OB zone reached
- ✕Reversal: Opposite CHoCH forms → close and reverse
- ✕Expiry: Signal_Expiry_Bars passed without TP
Trade / No-Trade Filters
- Structure Required: No BOS/CHoCH → no trade
- OB Retest Required: Price not at OB → no trade
- Spread: Spread > Max_Spread_Points → no signal
- Cooldown: Last signal < Cooldown_Bars ago → no signal
- Confluence: BOS + OB + Sweep → higher confidence (all 3 = 90+)
Source Code Preview
Educational purposes only. Do NOT use with real money. Test on demo accounts only.
Key Features
Input Parameters
Installation Guide
Clear Warning: Educational Purposes Only
This indicator is for educational and testing purposes only. Do NOT use it with real money. Test only on demo accounts. Trading with real money involves substantial risk of capital loss. This tool does not constitute investment advice.
Community
Frequently Asked Questions
Educational Disclaimer
This content is for educational purposes only and does not constitute financial or investment advice. Trading involves significant risk and you may lose your capital. Always consult a licensed financial advisor before making investment decisions.
Sign In to Download
Downloads are available to registered members. Sign in or create a free account to access the full source code.
Specifications
Best For
Related
Multi-Timeframe Confluence Scoring Engine
Evaluates 7+ independent conditions per bar with weighted scores. Only fires when total score meets configurable threshold.
Price Action Pattern Detector at Key Levels
Detects candlestick patterns (pin bars, engulfing, inside bars) only at key levels. Patterns in the middle of nowhere are ignored.
SMC Structure (BOS/CHoCH + OB + FVG + Liquidity)
Detects market structure (swing points, BOS, CHoCH), Order Blocks, Fair Value Gaps, and liquidity sweeps with mitigation tracking.