OPEN-SOURCE SCRIPT
Cascade Trigger Network [forexobroker]

Cascade Trigger Network fires only when three linked conditions light up across three timeframes in the correct order: the low timeframe triggers, then the medium timeframe confirms, then the high timeframe is already biased the same way -- all within a configurable window. One level alone is common; the full cascade is rare, and rare setups outperform noisy ones.
Built for multi-timeframe traders who need the LTF entry to be validated by MTF structure and HTF direction before committing capital.
🔶 CONCEPTS
Multi-timeframe alignment is a well-known edge, but most tools simply stack three moving averages from different timeframes and ask "are they all up?" That misses the key idea: direction should flow downward in timeframe -- HTF sets the bias, MTF confirms the swing, LTF fires the trigger. If the LTF trigger fires in isolation it's noise; if it fires while MTF and HTF are already pointing the same way, it's an entry. Adding a time window forces the cascade to complete quickly, rejecting stale triggers that come long after the MTF/HTF setup existed.
🔶 HOW IT WORKS
- LTF trigger: close crosses above/below LTF EMA with RSI supporting (>50 for bull, <50 for bear)
- MTF confirm: MTF close above/below MTF EMA with positive/negative slope
- HTF bias: HTF close above/below HTF EMA with positive/negative slope
- Tracks the last LTF trigger bar and requires it to be within Cascade Window Bars
- All three levels must be aligned simultaneously for the cascade to complete
- Combines level alignment and RSI into a 0-100 Cascade Score
- Classifies state as BROKEN, PARTIAL, LINKED, or CHAINED
- Fires signal on the bar where the full three-level alignment first appears
🔶 HOW TO USE
1. Add the indicator -- background tints when levels are aligning
2. Watch the dashboard (top-right) for live LTF trigger, MTF state, HTF state, and level counts
3. Green BUY triangles with "CASCADE ↑" label fire on completed bullish cascades; pink SELL triangles on bearish
4. The LTF EMA plotted with glow shows where the LTF trigger happens
5. Choose MTF and HTF to match your trading style (e.g. 60/240 for a 15m chart)
🔶 FEATURES
- Non-repainting signals (barstate.isconfirmed, no lookahead in security calls)
- Works on all timeframes and instruments
- 9 alert conditions with JSON webhook support
- True multi-timeframe cascade logic rather than MA stacking
- Time-windowed trigger so only recent LTF triggers count
🔶 SETTINGS GUIDE
- MTF Timeframe / HTF Timeframe -- Higher timeframes whose state gates the signal
- LTF / MTF / HTF EMA Length -- EMA length used on each timeframe
- LTF RSI Length -- RSI length used on the trading timeframe
- Cascade Window Bars -- Max bars between LTF trigger and cascade completion
- Cascade Score Threshold -- Minimum 0-100 score required at fire
- Signal Cooldown Bars -- Minimum bars between consecutive signals
🔶 ALERTS
- CTN Buy Cascade -- Full bullish cascade completed
- CTN Sell Cascade -- Full bearish cascade completed
- CTN Any Signal -- Any cascade signal
- CTN Chained -- Cascade score reaches 85+
- CTN LTF Bull Trigger -- Low-timeframe bullish trigger (informational)
- CTN LTF Bear Trigger -- Low-timeframe bearish trigger (informational)
- CTN Higher-TF Bull -- MTF and HTF both bullish
- CTN Higher-TF Bear -- MTF and HTF both bearish
- CTN Webhook JSON -- Generic webhook payload for external automation
🔶 LIMITATIONS & DISCLAIMER
- This is a technical analysis tool, not financial advice. Always use proper risk management.
- request.security introduces standard one-bar MTF/HTF delay; expected and non-repainting.
- If HTF is already opposed, cascades on the trading timeframe will be rare by design.
- The Cascade Score is a composite heuristic, not a calibrated probability.
Built for multi-timeframe traders who need the LTF entry to be validated by MTF structure and HTF direction before committing capital.
🔶 CONCEPTS
Multi-timeframe alignment is a well-known edge, but most tools simply stack three moving averages from different timeframes and ask "are they all up?" That misses the key idea: direction should flow downward in timeframe -- HTF sets the bias, MTF confirms the swing, LTF fires the trigger. If the LTF trigger fires in isolation it's noise; if it fires while MTF and HTF are already pointing the same way, it's an entry. Adding a time window forces the cascade to complete quickly, rejecting stale triggers that come long after the MTF/HTF setup existed.
🔶 HOW IT WORKS
- LTF trigger: close crosses above/below LTF EMA with RSI supporting (>50 for bull, <50 for bear)
- MTF confirm: MTF close above/below MTF EMA with positive/negative slope
- HTF bias: HTF close above/below HTF EMA with positive/negative slope
- Tracks the last LTF trigger bar and requires it to be within Cascade Window Bars
- All three levels must be aligned simultaneously for the cascade to complete
- Combines level alignment and RSI into a 0-100 Cascade Score
- Classifies state as BROKEN, PARTIAL, LINKED, or CHAINED
- Fires signal on the bar where the full three-level alignment first appears
🔶 HOW TO USE
1. Add the indicator -- background tints when levels are aligning
2. Watch the dashboard (top-right) for live LTF trigger, MTF state, HTF state, and level counts
3. Green BUY triangles with "CASCADE ↑" label fire on completed bullish cascades; pink SELL triangles on bearish
4. The LTF EMA plotted with glow shows where the LTF trigger happens
5. Choose MTF and HTF to match your trading style (e.g. 60/240 for a 15m chart)
🔶 FEATURES
- Non-repainting signals (barstate.isconfirmed, no lookahead in security calls)
- Works on all timeframes and instruments
- 9 alert conditions with JSON webhook support
- True multi-timeframe cascade logic rather than MA stacking
- Time-windowed trigger so only recent LTF triggers count
🔶 SETTINGS GUIDE
- MTF Timeframe / HTF Timeframe -- Higher timeframes whose state gates the signal
- LTF / MTF / HTF EMA Length -- EMA length used on each timeframe
- LTF RSI Length -- RSI length used on the trading timeframe
- Cascade Window Bars -- Max bars between LTF trigger and cascade completion
- Cascade Score Threshold -- Minimum 0-100 score required at fire
- Signal Cooldown Bars -- Minimum bars between consecutive signals
🔶 ALERTS
- CTN Buy Cascade -- Full bullish cascade completed
- CTN Sell Cascade -- Full bearish cascade completed
- CTN Any Signal -- Any cascade signal
- CTN Chained -- Cascade score reaches 85+
- CTN LTF Bull Trigger -- Low-timeframe bullish trigger (informational)
- CTN LTF Bear Trigger -- Low-timeframe bearish trigger (informational)
- CTN Higher-TF Bull -- MTF and HTF both bullish
- CTN Higher-TF Bear -- MTF and HTF both bearish
- CTN Webhook JSON -- Generic webhook payload for external automation
🔶 LIMITATIONS & DISCLAIMER
- This is a technical analysis tool, not financial advice. Always use proper risk management.
- request.security introduces standard one-bar MTF/HTF delay; expected and non-repainting.
- If HTF is already opposed, cascades on the trading timeframe will be rare by design.
- The Cascade Score is a composite heuristic, not a calibrated probability.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
🔵Gain access to our powerful tools : kestutisbalciunas.com/tradingview/
🔵Join our free telegram for updates : t.me/algotradingedge
All scripts & content provided by Forexobroker are for informational & educational purposes only.
🔵Join our free telegram for updates : t.me/algotradingedge
All scripts & content provided by Forexobroker are for informational & educational purposes only.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
🔵Gain access to our powerful tools : kestutisbalciunas.com/tradingview/
🔵Join our free telegram for updates : t.me/algotradingedge
All scripts & content provided by Forexobroker are for informational & educational purposes only.
🔵Join our free telegram for updates : t.me/algotradingedge
All scripts & content provided by Forexobroker are for informational & educational purposes only.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.