OPEN-SOURCE SCRIPT
AI SMC Pro v2

AI SMC Order Flow Pro v2.0 is an advanced Smart Money Concepts indicator combining ICT methodology, multi-timeframe analysis, Bayesian AI scoring, and order flow estimation — all in a single non-repainting overlay.
Core Features:
BOS & CHoCH structure detection
Bullish & Bearish Order Blocks (auto-invalidation)
Fair Value Gaps (auto-fill detection)
Liquidity levels (LQH / LQL)
Premium & Discount zones
Session High/Low (Asia, London, New York)
Support & Resistance (50-bar dynamic)
AI Engine:
Bayesian confidence score (0–100%) combining trend, momentum, MACD, volume, structure, order flow, MTF bias, session and zone
Three modes: Conservative / Balanced / Aggressive
Order Flow Module:
Estimated buy/sell pressure
Estimated delta & cumulative delta
Volume spike detection
Signals:
LONG / SHORT entries with SL, TP1, TP2
ATR-based risk management (customizable multipliers)
Minimum R:R filter (1:2 / 1:3 / 1:4)
Session filter (London & New York only)
MTF confirmation required
Built-in Backtest:
Win rate, Profit Factor, Expectancy
Max win/loss streak
Trailing stop & Break-even options
Best used on: EUR/USD · GBP/USD · 15m timeframe during London or New York session.
Core Features:
BOS & CHoCH structure detection
Bullish & Bearish Order Blocks (auto-invalidation)
Fair Value Gaps (auto-fill detection)
Liquidity levels (LQH / LQL)
Premium & Discount zones
Session High/Low (Asia, London, New York)
Support & Resistance (50-bar dynamic)
AI Engine:
Bayesian confidence score (0–100%) combining trend, momentum, MACD, volume, structure, order flow, MTF bias, session and zone
Three modes: Conservative / Balanced / Aggressive
Order Flow Module:
Estimated buy/sell pressure
Estimated delta & cumulative delta
Volume spike detection
Signals:
LONG / SHORT entries with SL, TP1, TP2
ATR-based risk management (customizable multipliers)
Minimum R:R filter (1:2 / 1:3 / 1:4)
Session filter (London & New York only)
MTF confirmation required
Built-in Backtest:
Win rate, Profit Factor, Expectancy
Max win/loss streak
Trailing stop & Break-even options
Best used on: EUR/USD · GBP/USD · 15m timeframe during London or New York session.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.