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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。