OPEN-SOURCE SCRIPT
MTF Supertrend + MA [TCMaster]

Overview:
The MTF Supertrend + MA indicator combines two powerful multi-timeframe tools — the Supertrend and Moving Averages (MA) — into one unified and customizable framework. It allows traders to analyze market trends and dynamic support/resistance levels from multiple higher timeframes directly on a single chart.
⚙️ Features
🟩 Supertrend Section
Up to 4 configurable Supertrends, each from a different timeframe.
Adjustable ATR Length and Multiplier (Factor).
Independent visibility, colors, and timeframes for each layer.
Built-in alert conditions for trend reversals (Uptrend ↔ Downtrend).
Clean visual overlay on price chart.
🟦 Moving Average (MA) Section
Up to 4 multi-timeframe MAs displayed simultaneously.
Supports multiple MA types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Independent control for each MA: color, line width, and timeframe.
Dynamic Info Label displaying distance between price and each MA in real-time.
Smooth, accurate MTF synchronization (no repainting from lookahead).
💡 How to Use
Identify higher-timeframe trend direction using Supertrend signals.
Use MAs as dynamic support/resistance or mean reversion zones.
Combine both for multi-timeframe confluence trading:
e.g., look for long entries when lower TF Supertrend turns bullish and price is above higher TF MAs.
Set alerts to get notified when any Supertrend flips its direction.
🧩 Customization
All parameters are grouped into two sections for clarity:
Supertrend Settings
MA Settings
Fully compatible with all chart types and timeframes.
⚠️ Notes
This indicator is designed for visual multi-timeframe analysis, not for automation.
Alerts only trigger when the corresponding timeframe bar closes.
Ensure replay mode or real-time conditions to verify alert behavior.
The MTF Supertrend + MA indicator combines two powerful multi-timeframe tools — the Supertrend and Moving Averages (MA) — into one unified and customizable framework. It allows traders to analyze market trends and dynamic support/resistance levels from multiple higher timeframes directly on a single chart.
⚙️ Features
🟩 Supertrend Section
Up to 4 configurable Supertrends, each from a different timeframe.
Adjustable ATR Length and Multiplier (Factor).
Independent visibility, colors, and timeframes for each layer.
Built-in alert conditions for trend reversals (Uptrend ↔ Downtrend).
Clean visual overlay on price chart.
🟦 Moving Average (MA) Section
Up to 4 multi-timeframe MAs displayed simultaneously.
Supports multiple MA types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Independent control for each MA: color, line width, and timeframe.
Dynamic Info Label displaying distance between price and each MA in real-time.
Smooth, accurate MTF synchronization (no repainting from lookahead).
💡 How to Use
Identify higher-timeframe trend direction using Supertrend signals.
Use MAs as dynamic support/resistance or mean reversion zones.
Combine both for multi-timeframe confluence trading:
e.g., look for long entries when lower TF Supertrend turns bullish and price is above higher TF MAs.
Set alerts to get notified when any Supertrend flips its direction.
🧩 Customization
All parameters are grouped into two sections for clarity:
Supertrend Settings
MA Settings
Fully compatible with all chart types and timeframes.
⚠️ Notes
This indicator is designed for visual multi-timeframe analysis, not for automation.
Alerts only trigger when the corresponding timeframe bar closes.
Ensure replay mode or real-time conditions to verify alert behavior.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.