OPEN-SOURCE SCRIPT
Master Multi-Asset Confluence Strategy

New "Confluence Dashboard" Features:
Confluence Checkboxes: In the settings under Active Confirmations (Checkboxes), you can now individually enable or disable:
RSI/BB Extension: (RSI extreme + Price outside Bands).
Order Block Hit: (Price inside an unmitigated Swing OB).
CVD Divergence: (Cumulative Volume Delta divergence).
SFP Confirmation: (Swing Failure Pattern).
How the Logic Works: The strategy will always look for the baseline Multi-Asset Divergence (VIX, PCC, or COMP). However, it will only trigger an entry (and show a diamond) if EVERY box you have checked is also currently true.
Backtesting Flexibilty:
To see Both normal and confirmed signals: Uncheck all confirmation boxes. Every divergence will trade.
To see Strict confluences: Check the boxes for the layers you trust most (e.g., OB + CVD).
Optimized Performance: Fixed the syntax errors from the previous attempts and ensured all ta.* calculations (like ta.lowest for CVD) are performing globally to avoid backtesting inconsistencies.*
Visual Signal Levels:
Gold Diamond: The "Perfect Trade" — A divergence meeting all your checked confluences happening within a Nested HTF Order Block.
White Diamond: A divergence meeting all your checked confluences happening within a Current TF Order Block.
TP/SL Lines: Still visible during active trades to show you exactly where your targets are.
Confluence Checkboxes: In the settings under Active Confirmations (Checkboxes), you can now individually enable or disable:
RSI/BB Extension: (RSI extreme + Price outside Bands).
Order Block Hit: (Price inside an unmitigated Swing OB).
CVD Divergence: (Cumulative Volume Delta divergence).
SFP Confirmation: (Swing Failure Pattern).
How the Logic Works: The strategy will always look for the baseline Multi-Asset Divergence (VIX, PCC, or COMP). However, it will only trigger an entry (and show a diamond) if EVERY box you have checked is also currently true.
Backtesting Flexibilty:
To see Both normal and confirmed signals: Uncheck all confirmation boxes. Every divergence will trade.
To see Strict confluences: Check the boxes for the layers you trust most (e.g., OB + CVD).
Optimized Performance: Fixed the syntax errors from the previous attempts and ensured all ta.* calculations (like ta.lowest for CVD) are performing globally to avoid backtesting inconsistencies.*
Visual Signal Levels:
Gold Diamond: The "Perfect Trade" — A divergence meeting all your checked confluences happening within a Nested HTF Order Block.
White Diamond: A divergence meeting all your checked confluences happening within a Current TF Order Block.
TP/SL Lines: Still visible during active trades to show you exactly where your targets are.
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.