OPEN-SOURCE SCRIPT
Ultimate Div - High Vis + Weekend Close

Ultimate Intraday Divergence Terminal [V6]
This is a comprehensive, institutional-grade trading system built specifically for Forex major pairs (EURUSD, USDJPY, GBPUSD) on the 15m and 1H timeframes. It combines momentum divergence confluence with trend filtering and professional risk management.
🔹 Core Strategy Logic
The system identifies Regular and Hidden Divergences across three major oscillators simultaneously. To filter out low-probability signals, it requires a "Confluence" of at least two oscillators before triggering an entry.
RSI (Relative Strength Index): Captures overextended momentum.
MACD (Moving Average Convergence Divergence): Captures trend shifts.
Stochastic: Captures rapid cyclic exhaustion.
🔹 Trend & Protection Filters
Ichimoku Cloud Filter: Signals are only valid if they align with the higher-order trend defined by the Kumo Cloud (Bullish signals above, Bearish signals below).
Volatility (News) Filter: Automatically detects abnormal ATR spikes (common during NFP or CPI) and pauses trading for 5 bars to prevent "whipsaw" losses.
Weekend Protection: Automatically closes all positions on Friday evening to avoid Sunday gap risks.
🔹 Visual Experience (Optimized for Dark Mode)
Dynamic Backgrounds: The chart background shifts to Dark Green (Bullish) or Dark Maroon (Bearish) based on the Ichimoku trend.
Neon High-Vis Markers: Neon Cyan (Bullish) and Neon Red (Bearish) shapes ensure signals pop against black backgrounds.
Real-Time Dashboard: Monitor your current Win Rate, Confluence levels, and Daily PnL at a glance.
Floating PnL Label: A live-tracking label follows price during active trades, showing real-time profit/loss in pips and percentage.
🔹 Risk Management SOP
Risk-per-Trade: Automatically calculates position sizes based on 1% of equity.
Daily Drawdown Limit: Halts trading for the day if a 3% loss limit is hit.
Take Profit / Stop Loss: Dynamic calculation based on user-defined Risk:Reward ratios.
🛠 How to Use
Add to Chart: Set your timeframe to 15m.
Verify Trend: Ensure the background color matches the direction you intend to trade.
Wait for Confluence: Watch the dashboard for a 2/3 or 3/3 signal.
Manage: Let the automated SL and TP handle the exit, or use the floating PnL label to manually scale out.
This is a comprehensive, institutional-grade trading system built specifically for Forex major pairs (EURUSD, USDJPY, GBPUSD) on the 15m and 1H timeframes. It combines momentum divergence confluence with trend filtering and professional risk management.
🔹 Core Strategy Logic
The system identifies Regular and Hidden Divergences across three major oscillators simultaneously. To filter out low-probability signals, it requires a "Confluence" of at least two oscillators before triggering an entry.
RSI (Relative Strength Index): Captures overextended momentum.
MACD (Moving Average Convergence Divergence): Captures trend shifts.
Stochastic: Captures rapid cyclic exhaustion.
🔹 Trend & Protection Filters
Ichimoku Cloud Filter: Signals are only valid if they align with the higher-order trend defined by the Kumo Cloud (Bullish signals above, Bearish signals below).
Volatility (News) Filter: Automatically detects abnormal ATR spikes (common during NFP or CPI) and pauses trading for 5 bars to prevent "whipsaw" losses.
Weekend Protection: Automatically closes all positions on Friday evening to avoid Sunday gap risks.
🔹 Visual Experience (Optimized for Dark Mode)
Dynamic Backgrounds: The chart background shifts to Dark Green (Bullish) or Dark Maroon (Bearish) based on the Ichimoku trend.
Neon High-Vis Markers: Neon Cyan (Bullish) and Neon Red (Bearish) shapes ensure signals pop against black backgrounds.
Real-Time Dashboard: Monitor your current Win Rate, Confluence levels, and Daily PnL at a glance.
Floating PnL Label: A live-tracking label follows price during active trades, showing real-time profit/loss in pips and percentage.
🔹 Risk Management SOP
Risk-per-Trade: Automatically calculates position sizes based on 1% of equity.
Daily Drawdown Limit: Halts trading for the day if a 3% loss limit is hit.
Take Profit / Stop Loss: Dynamic calculation based on user-defined Risk:Reward ratios.
🛠 How to Use
Add to Chart: Set your timeframe to 15m.
Verify Trend: Ensure the background color matches the direction you intend to trade.
Wait for Confluence: Watch the dashboard for a 2/3 or 3/3 signal.
Manage: Let the automated SL and TP handle the exit, or use the floating PnL label to manually scale out.
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.