OPEN-SOURCE SCRIPT

MTF Confluence Dashboard (EMA + RSI + Volume)

406
A multi-timeframe confluence scoring system designed for futures (built and tested on MNQ). Instead of generating signals from a single indicator on a single timeframe, it scores 4 timeframes independently and only flags Buy/Sell when they align.
How it works
Each timeframe (3m, 5m, 15m, 30m) is scored on three components:

EMA Ribbon (7/13/20/50) — bullish when stacked up, bearish when stacked down
RSI (13-period) — bullish above 60, bearish below 40
Volume — confirms direction when volume spikes above 1.5× the 20-bar average

Each component scores +1, 0, or -1, giving each timeframe a score from -3 to +3. The four timeframe scores are summed into a total confluence score from -12 to +12.

Signal logic:
ALIGNED BUY / SELL labels print on the chart when the confluence score crosses ±5
The dashboard table on the right shows live signals for each timeframe, macro trend (above/below 200 EMA), and the overall confluence
A built-in whipsaw filter prevents Buy → Sell → Buy flip-flops by requiring the score to reset to neutral before allowing opposite signals

Built-in features:
Customizable EMA, RSI, and volume settings
Adjustable confluence thresholds
Toggleable EMA plotting on chart
Four alert conditions (Aligned Buy/Sell, Lean Buy/Sell)
Repaint-safe (uses confirmed higher-timeframe data only)

Best used as:
A confluence checker, not an autopilot. ALIGNED signals tell you when multiple timeframes agree on direction — strongest in trending markets, weakest in chop. Pair with your own price action read and risk management.

Notes:
Works best on futures or exchange-traded instruments where volume data is real
Default settings tuned for MNQ on the 5m chart but adjustable for any market/timeframe

MADE USING CLAUDE AI

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.