PROTECTED SOURCE SCRIPT
Pendulum Trend Matrix

Pendulum Trend Matrix is your all-in-one multi-timeframe dashboard and alert engine:
Up to 10 Timeframes
Choose any 1–10 custom timeframes (TF1–TF10). Blank slots inherit the chart’s current interval.
Four Trend Modules
Per-slot trend detection via ADX (+DI vs –DI), EMA (price vs EMA), VWAP (price vs VWAP), or SuperTrend (ATR-based). Customize ADX length, EMA period, SuperTrend ATR length & multiplier.
Live Countdown
Displays “d h m s” until the next bar closes on each selected timeframe.
Custom Symbols & Styling
Default 🚀/💩 for bullish/bearish but change to anything you like. Font sizes and table corner placement are adjustable.
Built-In Alerts
Countdown Reset Alerts: Fires on every bar close for TF1–TF10.
Trend Change Alerts: Fires whenever the trend flips in each slot.
Alert Behavior & Limitation
Due to TradingView’s execution model, your script only runs on the chart’s timeframe (or on each incoming tick if you choose “Once Per Tick” in the Alert dialog). Consequently:
If you set TF1 = 15S but your chart is on 5 min, the “15 s” reset won’t trigger until the 5 min bar updates or closes.
To receive regular sub-minute alerts, you must run the indicator on a chart interval at or below your shortest TF slot.
Tip: For reliable 1 min or faster alerts, set your chart to 1 min (or smaller) and choose “Once Per Tick” in the Alert dialog. This ensures your Countdown Reset and Trend Change alerts fire as expected, even on fast timeframes.
Up to 10 Timeframes
Choose any 1–10 custom timeframes (TF1–TF10). Blank slots inherit the chart’s current interval.
Four Trend Modules
Per-slot trend detection via ADX (+DI vs –DI), EMA (price vs EMA), VWAP (price vs VWAP), or SuperTrend (ATR-based). Customize ADX length, EMA period, SuperTrend ATR length & multiplier.
Live Countdown
Displays “d h m s” until the next bar closes on each selected timeframe.
Custom Symbols & Styling
Default 🚀/💩 for bullish/bearish but change to anything you like. Font sizes and table corner placement are adjustable.
Built-In Alerts
Countdown Reset Alerts: Fires on every bar close for TF1–TF10.
Trend Change Alerts: Fires whenever the trend flips in each slot.
Alert Behavior & Limitation
Due to TradingView’s execution model, your script only runs on the chart’s timeframe (or on each incoming tick if you choose “Once Per Tick” in the Alert dialog). Consequently:
If you set TF1 = 15S but your chart is on 5 min, the “15 s” reset won’t trigger until the 5 min bar updates or closes.
To receive regular sub-minute alerts, you must run the indicator on a chart interval at or below your shortest TF slot.
Tip: For reliable 1 min or faster alerts, set your chart to 1 min (or smaller) and choose “Once Per Tick” in the Alert dialog. This ensures your Countdown Reset and Trend Change alerts fire as expected, even on fast timeframes.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.