SMC Pro BTC - ICT Order Blocks & FVG [DOE]SMC Pro BTC - ICT Order Blocks & FVG
A multi-timeframe Smart Money Concepts engine built exclusively for Bitcoin. This indicator combines order blocks, fair value gaps, liquidity sweeps, break of structure, and premium/discount zone analysis into one backtest-verified, non-repainting strategy.
Every signal you see in history is exactly what you would have seen live. No repainting. No lookahead. No curve-fitting.
Built by a former quantitative analyst from a US-based systematic fund. The structural logic behind this indicator is the same order flow mechanics that institutional algorithms use to identify and exploit liquidity imbalances — adapted for retail traders on TradingView.
TWO STRATEGY MODES
The indicator offers two execution modes on the same structural foundation. Both include commissions (0.075% per trade) and slippage (3 ticks) in all backtested results.
AGGRESSIVE MODE — More trades, more exposure
Entries fire on any valid BOS or CHoCH confirmed by an order block and fair value gap on the confirmation timeframe. Accepts a lower win rate in exchange for capturing a larger portion of trending moves.
Metric Value
Period Jan 2021 — Feb 2026 (5 years)
Total Trades 90
Win Rate 45.56%
Net P&L +14.36%
Profit Factor 1.95
Max Drawdown 1.36%
90 trades across 5 full years — including the 2022 bear market. A profit factor of 1.95 means that for every dollar lost, the system recovered nearly two. The 45% win rate works because winning trades are structurally larger than losers. This is positive expectancy executed over a statistically meaningful sample.
SELECTIVE MODE — Fewer trades, higher precision
Adds a premium/discount zone filter. Longs only in the discount zone of the HTF dealing range. Shorts only in the premium zone. This single structural filter cuts the trade count significantly while improving signal quality.
Metric Value
Period Jan 2021 — Feb 2026 (5 years)
Total Trades 29
Win Rate 51.72%
Net P&L +1.10%
Profit Factor 1.324
Max Drawdown 1.23%
The Selective mode sacrifices P&L for risk control — the maximum drawdown over 5 years was just 1.23%. The lower trade count (29) reflects the strict filtering: every signal requires structural confluence plus optimal price positioning. This mode is designed for traders who prioritize capital preservation over returns.
Both modes are provided so you can evaluate the tradeoff between frequency and precision. There is no objectively "better" mode — only the one that matches your risk tolerance.
Note on sample size: The Aggressive mode produces 90 trades over the 5-year test period, approaching the 100-trade benchmark for statistical significance. The Selective mode produces 29 trades due to the strict confluence requirements — each trade requires alignment across 6 independent conditions (BOS, OB, FVG, liquidity sweep, premium/discount zone). We recommend supplementing the backtest with forward-testing on live data for additional confidence. The Strategy Tester is fully available for you to verify all results with your own settings.
ENTRY LOGIC — STEP BY STEP
Every signal requires alignment across structure, zone, imbalance, and liquidity. No single condition is sufficient.
LONG ENTRY SEQUENCE
Step 1 — HTF Directional Bias
The Direction Timeframe (default: 4H) detects a bullish break of structure or change of character. This establishes the higher-timeframe directional bias. Without bullish structure on the HTF, no long signal fires.
Step 2 — MTF Confirmation
The Confirmation Timeframe (default: 1H) must confirm with its own bullish BOS or CHoCH, aligning both timeframes in the same direction.
Step 3 — Order Block Identification
The script finds the last bearish candle before the impulsive bullish move — the order block where smart money accumulated positions.
Step 4 — Fair Value Gap Validation
A bullish FVG must overlap the identified order block zone. An OB alone is a level. An OB combined with an FVG is confluence.
Step 5 — Liquidity Sweep Confirmation
A recent liquidity sweep must have occurred — price dipped below a prior swing low, triggering stop-losses, before reversing.
Step 6 — Premium/Discount Zone Filter (Selective Mode Only)
Entry must occur in the discount zone of the HTF dealing range.
Step 7 — Execution
All conditions met. Signal fires. Stop-loss below the order block. Take-profit at the configured R:R distance.
SHORT ENTRY SEQUENCE
Mirrors the long with inverted conditions:
HTF bearish BOS/CHoCH
MTF bearish BOS/CHoCH confirms
Bearish order block identified
Bearish FVG overlaps the OB zone
Liquidity sweep above a prior swing high
Price in premium zone (Selective only)
SL above OB high + buffer; TP at R:R below entry
Every step is objective. No discretionary component.
FEATURES
Non-repainting, non-lookahead signals — barstate.isconfirmed enforced on all calculations
Multi-timeframe structure analysis — HTF for direction, MTF for confirmation, entry TF for execution
Order block detection with configurable lookback and automatic invalidation
Fair value gap multi-zone display — configurable by count and max distance from price
Liquidity sweep recognition with adjustable memory window
BOS and CHoCH detection on multiple timeframes
Premium/discount zone mapping with configurable threshold
Automatic SL/TP with visual trade boxes
Two strategy modes — Aggressive and Selective
Fully configurable parameters with sensible BTC 4H defaults
Built-in strategy engine — backtest directly in Strategy Tester
DEFAULT STRATEGY PROPERTIES
These are the exact settings used for the published backtest. You can verify all results by loading the indicator with default settings and opening the Strategy Tester:
Symbol: BTCUSDT (Binance)
Timeframe: 4H
Period: January 2021 — February 2026 (5+ years)
Initial Capital: $10,000
Order Size: 10% of equity per trade
Commission: 0.075% per trade (Binance taker fee)
Slippage: 3 ticks per order
Pyramiding: 0 (one position at a time)
Non-repainting: barstate.isconfirmed enforced
No lookahead bias: lookahead = barmerge.lookahead_off on all request.security() calls
No future leakage: entries execute on the bar after all conditions are confirmed
The 10% equity sizing means each trade risks a sustainable portion of the account. This is consistent with professional risk management standards where no single trade should expose more than 5-10% of capital.
SETTINGS DOCUMENTATION
Strategy Mode — Aggressive / Selective
Aggressive: BOS/CHoCH + Order Block + FVG + Liquidity Sweep. Selective adds premium/discount zone filter. New to SMC? Start with Selective.
Direction TF (HTF) — Default: 240 (4H)
Higher timeframe for directional bias. Increase to Daily for fewer, higher-conviction signals.
Confirmation TF (MTF) — Default: 60 (1H)
Mid timeframe that confirms HTF bias. Default 240/60 provides a 4:1 ratio.
Swing Length — Default: 10 | Range: 3-50
Bars used to identify swing highs/lows. Lower = more sensitive, higher = major shifts only.
OB Lookback Bars — Default: 15 | Range: 3-30
How far back to search for valid order blocks after a structural break.
Sweep Memory — Default: 20 bars | Range: 5-50
Lookback window for detecting liquidity sweeps before entries.
Risk:Reward Ratio — Default: 2.0 | Range: 1.0-5.0
TP placement relative to SL distance. Re-run backtest after changing.
SL Buffer % — Default: 0.3 | Range: 0.0-2.0
Buffer beyond OB boundary to prevent wick stop-outs.
P/D Zone Threshold — Default: 0.80 | Range: 0.50-0.85 | Selective Only
How deep into premium/discount zone for entry qualification.
Max FVGs per Side — Default: 5 | Range: 1-10
Active FVGs displayed per direction.
FVG Max Distance % — Default: 8.0 | Range: 1.0-25.0
Hides FVGs beyond this % from current price.
Show Trade Boxes — On / Off
Visual boxes showing entry, SL, and TP for each signal.
CONCEPTS EXPLAINED
Order Blocks (OB) — The last opposing candle before a significant impulsive move. Where institutional participants positioned themselves. The foundation of SMC entry models.
Fair Value Gap (FVG) — A three-candle price imbalance where the market moved too fast for orders to fill. Markets tend to return to these inefficiencies. When an FVG overlaps an OB, that is high-probability confluence.
Break of Structure (BOS) — Price moves beyond a prior swing high/low in the trend direction. Signals continuation.
Change of Character (CHoCH) — A structural break against the prevailing trend. The first objective signal of a potential reversal.
Liquidity Sweep — Price pushes beyond a key level to trigger stop-losses, then reverses. Institutional participants hunting clustered orders for liquidity.
Premium and Discount Zones — The HTF range divided by the 50% equilibrium. Premium = expensive (favor shorts). Discount = cheap (favor longs).
HOW TO USE
Add to any BTCUSDT chart (optimized for 4H Binance)
Select Aggressive or Selective mode in Settings
Green arrows = long entries, red arrows = short entries, with SL/TP lines
Enable Show Trade Boxes for visual risk/reward on every signal
Open Strategy Tester to verify all backtest results with your own settings
Adjust one setting at a time and re-run the backtest after each change
Combine with your own analysis — this is a structural tool, not a prediction engine
Manage risk — no indicator guarantees profits
CREDITS
This script builds upon concepts and structural approaches from the following open-source projects:
LuxAlgo — SMC structural detection framework
ICT Master Suite — ICT concepts implementation reference
PineScript-SMC-Strategy — SMC strategy architecture reference
Significant modifications and original work include: dual-mode strategy engine (Aggressive/Selective), multi-timeframe confluence model requiring 5-6 simultaneous conditions, FVG multi-zone display with distance filtering, integrated backtest engine with realistic position sizing, and complete strategy automation with configurable risk management.
DISCLAIMER
This indicator is published for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset. Trading Bitcoin involves substantial risk of loss. Never trade capital you cannot afford to lose. Past performance does not guarantee future results. You are solely responsible for your own trading decisions. Use at your own risk.
Pine Script®策略






















