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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.