OPEN-SOURCE SCRIPT

YM Confluence Panel - Dual SMA (fast/slow)

64
This script displays a YM Confluence Panel for the mini Dow Jones (YM), using six correlated/inversely correlated assets (ES, NQ, RTY, ZN, GC, VIX) and two simple moving averages (fast: 9 / slow: 20).
The logic determines bullish or bearish conditions for each asset based on SMA relationships and price, generating arrows and an aggregated BUY / SELL / WAIT signal.
🔹 How it works:
• Correlated assets (ES, NQ, RTY): bullish when SMA(9) > SMA(20) and price above SMA(20).
• Inverse assets (ZN, GC, VIX): bullish when SMA(9) < SMA(20) and price below SMA(20).
• All bullish → BUY
• All bearish → SELL
• Otherwise → WAIT
✅ Customizable:
• Adjust assets and timeframes.
• Change SMA periods.
• Set panel position.
⚠️ Disclaimer: For educational purposes only. Not financial advice.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.