OPEN-SOURCE SCRIPT
Momentum Consensus Heatmap [StrixEDGE]

█ MOMENTUM CONSENSUS HEATMAP
A multi-timeframe momentum aggregation system that scans 6 oscillators across 4 customizable timeframes and fires high-conviction BUY/SHORT signals only when a critical mass of indicators reach overbought or oversold consensus simultaneously.
█ CONCEPT
Most momentum-based strategies rely on a single oscillator on a single timeframe — a setup prone to false signals and noise. This indicator solves that by requiring cross-timeframe and cross-indicator agreement before generating a signal.
The core logic works in two layers:
Layer 1 — Timeframe Consensus (per indicator):
Each oscillator is evaluated across 4 timeframes (default: 15m, 1H, 4H, 1D). An indicator only qualifies as "Overbought" or "Oversold" when at least 3 out of 4 timeframes agree (configurable: 2/4, 3/4, or 4/4).

Layer 2 — Indicator Consensus (overall signal):
A chart signal fires only when a user-defined number of indicators (default: 4 out of 6) have all independently reached Layer 1 consensus in the same direction.

This dual-filter architecture dramatically reduces noise and isolates moments of genuine, broad-based momentum exhaustion.
█ OSCILLATORS USED
• RSI (Relative Strength Index) — Classic momentum oscillator measuring speed and magnitude of price changes. Default OB/OS: 70/30.

• Stochastic RSI — Stochastic formula applied to RSI values, more sensitive to short-term momentum shifts than raw RSI. Default OB/OS: 80/20.

• Stochastic Oscillator — Compares closing price to the high-low range over a lookback period. Independent from Stoch RSI. Default OB/OS: 80/20.

• CCI (Commodity Channel Index) — Measures deviation from the statistical mean. Unbounded, making it useful for detecting extreme momentum. Default OB/OS: +100/−100.

• Williams %R — Reflects where the current close sits relative to the highest high. Inverted scale (−100 to 0). Default OB/OS: −20/−80.

• MFI (Money Flow Index) — Volume-weighted RSI. Adds a volume confirmation dimension that pure price-based oscillators lack. Default OB/OS: 80/20.

█ HEATMAP TABLE
The on-chart heatmap table provides a real-time dashboard of all 24 data points (6 indicators × 4 timeframes):
• Each cell shows the live oscillator value with color-coded background:
🔴 Red = Overbought zone
🟢 Green = Oversold zone
⚫ Gray = Neutral
• SCORE column shows how many timeframes agree for each indicator (e.g., "3/4 OB").
• SIGNAL column shows whether that individual indicator has reached consensus ("SHORT ▼" / "BUY ▲" / "—").
• CONSENSUS row at the bottom shows the overall verdict with a percentage score of indicator agreement.
Table position and text size are fully customizable through the settings panel.
█ CHART SIGNALS
When the overall consensus threshold is met:
▲ Green triangle below bar = BUY signal (oversold consensus)
▼ Red triangle above bar = SHORT signal (overbought consensus)
Signals fire only on the first bar of a new consensus event (no repeated signals while conditions persist). A subtle background color flash highlights the signal bar.
█ OPTIONAL TREND FILTER (EMA)
When enabled, signals are filtered by an EMA trend bias:
• BUY signals require price above the EMA (buying in an uptrend)
• SHORT signals require price below the EMA (shorting in a downtrend)
This is disabled by default to keep the indicator pure momentum-based, but can significantly improve signal quality in trending markets.
█ SETTINGS OVERVIEW
⏱ Timeframes — All 4 timeframes are independently configurable.
⚙ Indicator Lengths — Full control over each oscillator's lookback period.
📊 OB/OS Thresholds — Adjust overbought/oversold levels for every oscillator independently.
🎯 Signal Rules:
• Min TF Consensus: How many timeframes must agree per indicator (2-4, default 3).
• Min Indicators: How many indicators must reach consensus for a chart signal (1-6, default 4).
🎨 Table Appearance — Position, size, and full color customization (OB color, OS color, neutral, header, text).
🔔 Alerts — Native TradingView alerts with detailed messages including ticker, timeframe, and consensus count.
█ HOW TO USE
1. Apply the indicator to any chart (works on all instruments and timeframes).
2. The heatmap table updates in real time — use it as a momentum dashboard.
3. Watch for chart signals:
• When 4+ indicators show oversold consensus across 3+ timeframes → BUY signal.
• When 4+ indicators show overbought consensus across 3+ timeframes → SHORT signal.
4. Set up TradingView alerts to get notified when signals fire.
5. For higher conviction:
• Increase "Min Indicators" to 5 or 6 (fewer but stronger signals).
• Require 4/4 timeframe agreement instead of 3/4.
• Enable the EMA trend filter.
█ IMPORTANT NOTES
• This indicator uses request.security() to fetch multi-timeframe data. On the current timeframe, values update in real time. Higher timeframe values reflect the last closed bar of that timeframe.
• Signals are non-repainting once the bar closes. Intrabar, the table values and potential signals update as new ticks arrive (expected behavior for a real-time dashboard).
• This tool is designed for identifying momentum exhaustion zones. It does not predict direction — use it in confluence with price action, support/resistance, and your broader trading plan.
• Past performance is not indicative of future results. Always use proper risk management.
█ CREDITS & LICENSE
Open source under Mozilla Public License 2.0.
Built with Pine Script™ v6.
A multi-timeframe momentum aggregation system that scans 6 oscillators across 4 customizable timeframes and fires high-conviction BUY/SHORT signals only when a critical mass of indicators reach overbought or oversold consensus simultaneously.
█ CONCEPT
Most momentum-based strategies rely on a single oscillator on a single timeframe — a setup prone to false signals and noise. This indicator solves that by requiring cross-timeframe and cross-indicator agreement before generating a signal.
The core logic works in two layers:
Layer 1 — Timeframe Consensus (per indicator):
Each oscillator is evaluated across 4 timeframes (default: 15m, 1H, 4H, 1D). An indicator only qualifies as "Overbought" or "Oversold" when at least 3 out of 4 timeframes agree (configurable: 2/4, 3/4, or 4/4).
Layer 2 — Indicator Consensus (overall signal):
A chart signal fires only when a user-defined number of indicators (default: 4 out of 6) have all independently reached Layer 1 consensus in the same direction.
This dual-filter architecture dramatically reduces noise and isolates moments of genuine, broad-based momentum exhaustion.
█ OSCILLATORS USED
• RSI (Relative Strength Index) — Classic momentum oscillator measuring speed and magnitude of price changes. Default OB/OS: 70/30.
• Stochastic RSI — Stochastic formula applied to RSI values, more sensitive to short-term momentum shifts than raw RSI. Default OB/OS: 80/20.
• Stochastic Oscillator — Compares closing price to the high-low range over a lookback period. Independent from Stoch RSI. Default OB/OS: 80/20.
• CCI (Commodity Channel Index) — Measures deviation from the statistical mean. Unbounded, making it useful for detecting extreme momentum. Default OB/OS: +100/−100.
• Williams %R — Reflects where the current close sits relative to the highest high. Inverted scale (−100 to 0). Default OB/OS: −20/−80.
• MFI (Money Flow Index) — Volume-weighted RSI. Adds a volume confirmation dimension that pure price-based oscillators lack. Default OB/OS: 80/20.
█ HEATMAP TABLE
The on-chart heatmap table provides a real-time dashboard of all 24 data points (6 indicators × 4 timeframes):
• Each cell shows the live oscillator value with color-coded background:
🔴 Red = Overbought zone
🟢 Green = Oversold zone
⚫ Gray = Neutral
• SCORE column shows how many timeframes agree for each indicator (e.g., "3/4 OB").
• SIGNAL column shows whether that individual indicator has reached consensus ("SHORT ▼" / "BUY ▲" / "—").
• CONSENSUS row at the bottom shows the overall verdict with a percentage score of indicator agreement.
Table position and text size are fully customizable through the settings panel.
█ CHART SIGNALS
When the overall consensus threshold is met:
▲ Green triangle below bar = BUY signal (oversold consensus)
▼ Red triangle above bar = SHORT signal (overbought consensus)
Signals fire only on the first bar of a new consensus event (no repeated signals while conditions persist). A subtle background color flash highlights the signal bar.
█ OPTIONAL TREND FILTER (EMA)
When enabled, signals are filtered by an EMA trend bias:
• BUY signals require price above the EMA (buying in an uptrend)
• SHORT signals require price below the EMA (shorting in a downtrend)
This is disabled by default to keep the indicator pure momentum-based, but can significantly improve signal quality in trending markets.
█ SETTINGS OVERVIEW
⏱ Timeframes — All 4 timeframes are independently configurable.
⚙ Indicator Lengths — Full control over each oscillator's lookback period.
📊 OB/OS Thresholds — Adjust overbought/oversold levels for every oscillator independently.
🎯 Signal Rules:
• Min TF Consensus: How many timeframes must agree per indicator (2-4, default 3).
• Min Indicators: How many indicators must reach consensus for a chart signal (1-6, default 4).
🎨 Table Appearance — Position, size, and full color customization (OB color, OS color, neutral, header, text).
🔔 Alerts — Native TradingView alerts with detailed messages including ticker, timeframe, and consensus count.
█ HOW TO USE
1. Apply the indicator to any chart (works on all instruments and timeframes).
2. The heatmap table updates in real time — use it as a momentum dashboard.
3. Watch for chart signals:
• When 4+ indicators show oversold consensus across 3+ timeframes → BUY signal.
• When 4+ indicators show overbought consensus across 3+ timeframes → SHORT signal.
4. Set up TradingView alerts to get notified when signals fire.
5. For higher conviction:
• Increase "Min Indicators" to 5 or 6 (fewer but stronger signals).
• Require 4/4 timeframe agreement instead of 3/4.
• Enable the EMA trend filter.
█ IMPORTANT NOTES
• This indicator uses request.security() to fetch multi-timeframe data. On the current timeframe, values update in real time. Higher timeframe values reflect the last closed bar of that timeframe.
• Signals are non-repainting once the bar closes. Intrabar, the table values and potential signals update as new ticks arrive (expected behavior for a real-time dashboard).
• This tool is designed for identifying momentum exhaustion zones. It does not predict direction — use it in confluence with price action, support/resistance, and your broader trading plan.
• Past performance is not indicative of future results. Always use proper risk management.
█ CREDITS & LICENSE
Open source under Mozilla Public License 2.0.
Built with Pine Script™ v6.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
✅MY Free Signals Telegram
t.me/StrixEdge
✅Website
strix-edge.com
t.me/StrixEdge
✅Website
strix-edge.com
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
✅MY Free Signals Telegram
t.me/StrixEdge
✅Website
strix-edge.com
t.me/StrixEdge
✅Website
strix-edge.com
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.