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.
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.
🔵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.
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.
🔵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.
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.