SMC Pro BTC - ICT Order Blocks & FVG [DOE] — Strategy by DOE_Trade

By DOE_Trade

Performance Metrics

Description

SMC Pro BTC - ICT Order Blocks & FVG [DOE]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 MODESThe 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 exposureEntries 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 ValuePeriod Jan 2021 — Feb 2026 (5 years)Total Trades 90Win Rate 45.56%Net P&L +14.36%Profit Factor 1.95Max 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 precisionAdds 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 ValuePeriod Jan 2021 — Feb 2026 (5 years)Total Trades 29Win Rate 51.72%Net P&L +1.10%Profit Factor 1.324Max 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 STEPEvery signal requires alignment across structure, zone, imbalance, and liquidity. No single condition is sufficient.LONG ENTRY SEQUENCEStep 1 — HTF Directional BiasThe 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 ConfirmationThe Confirmation Timeframe (default: 1H) must confirm with its own bullish BOS or CHoCH, aligning both timeframes in the same direction.Step 3 — Order Block IdentificationThe script finds the last bearish candle before the impulsive bullish move — the order block where smart money accumulated positions.Step 4 — Fair Value Gap ValidationA 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 ConfirmationA 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 — ExecutionAll conditions met. Signal fires. Stop-loss below the order block. Take-profit at the configured R:R distance.SHORT ENTRY SEQUENCEMirrors the long with inverted conditions:HTF bearish BOS/CHoCHMTF bearish BOS/CHoCH confirmsBearish order block identifiedBearish FVG overlaps the OB zoneLiquidity sweep above a prior swing highPrice in premium zone (Selective only)SL above OB high + buffer; TP at R:R below entryEvery step is objective. No discretionary component.FEATURESNon-repainting, non-lookahead signals — barstate.isconfirmed enforced on all calculationsMulti-timeframe structure analysis — HTF for direction, MTF for confirmation, entry TF for executionOrder block detection with configurable lookback and automatic invalidationFair value gap multi-zone display — configurable by count and max distance from priceLiquidity sweep recognition with adjustable memory windowBOS and CHoCH detection on multiple timeframesPremium/discount zone mapping with configurable thresholdAutomatic SL/TP with visual trade boxesTwo strategy modes — Aggressive and SelectiveFully configurable parameters with sensible BTC 4H defaultsBuilt-in strategy engine — backtest directly in Strategy TesterDEFAULT STRATEGY PROPERTIESThese 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: 4HPeriod: January 2021 — February 2026 (5+ years)Initial Capital: $10,000Order Size: 10% of equity per tradeCommission: 0.075% per trade (Binance taker fee)Slippage: 3 ticks per orderPyramiding: 0 (one position at a time)Non-repainting: barstate.isconfirmed enforcedNo lookahead bias: lookahead = barmerge.lookahead_off on all request.security() callsNo future leakage: entries execute on the bar after all conditions are confirmedThe 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 DOCUMENTATIONStrategy Mode — Aggressive / SelectiveAggressive: 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-50Bars used to identify swing highs/lows. Lower = more sensitive, higher = major shifts only.OB Lookback Bars — Default: 15 | Range: 3-30How far back to search for valid order blocks after a structural break.Sweep Memory — Default: 20 bars | Range: 5-50Lookback window for detecting liquidity sweeps before entries.Risk:Reward Ratio — Default: 2.0 | Range: 1.0-5.0TP placement relative to SL distance. Re-run backtest after changing.SL Buffer % — Default: 0.3 | Range: 0.0-2.0Buffer beyond OB boundary to prevent wick stop-outs.P/D Zone Threshold — Default: 0.80 | Range: 0.50-0.85 | Selective OnlyHow deep into premium/discount zone for entry qualification.Max FVGs per Side — Default: 5 | Range: 1-10Active FVGs displayed per direction.FVG Max Distance % — Default: 8.0 | Range: 1.0-25.0Hides FVGs beyond this % from current price.Show Trade Boxes — On / OffVisual boxes showing entry, SL, and TP for each signal.CONCEPTS EXPLAINEDOrder 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 USEAdd to any BTCUSDT chart (optimized for 4H Binance)Select Aggressive or Selective mode in SettingsGreen arrows = long entries, red arrows = short entries, with SL/TP linesEnable Show Trade Boxes for visual risk/reward on every signalOpen Strategy Tester to verify all backtest results with your own settingsAdjust one setting at a time and re-run the backtest after each changeCombine with your own analysis — this is a structural tool, not a prediction engineManage risk — no indicator guarantees profitsCREDITSThis script builds upon concepts and structural approaches from the following open-source projects:LuxAlgo — SMC structural detection frameworkICT Master Suite — ICT concepts implementation referencePineScript-SMC-Strategy — SMC strategy architecture referenceSignificant 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.DISCLAIMERThis 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.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView