OPEN-SOURCE SCRIPT
已更新 MAST

The MAST indicator is a hybrid trend tool that combines two powerful components of technical analysis: a Simple Moving Average (SMA) and a Supertrend, with added Multi-Timeframe (MTF) functionality to give traders a broader market context.
🚀 Key Features:
Multi-Timeframe Support: Analyze SMA and Supertrend from higher timeframes while on a lower timeframe chart. Ideal for situating price action in the bigger picture.
Dynamic Line Coloring:
Green when price is above the indicator (bullish bias)
Red when price is below (bearish bias)
Adaptive Background Fill:
Darker shades when price is strongly trending (above or below both indicators)
Softer shades when price is in a transition zone (between the two indicators)
User Customization:
Adjustable SMA length, Supertrend period and factor
Selectable higher timeframe for analysis
This tool helps traders:
Confirm trend direction across timeframes
Identify transitional phases
Spot confluences between short-term and long-term trend indicators
🔹 This indicator idea is inspired by the original MAST indicator developed by Definedge. I have made additional modifications and enhancements to tailor it to my trading needs. Full credit and respect to Definedge for the original concept.
🚀 Key Features:
Multi-Timeframe Support: Analyze SMA and Supertrend from higher timeframes while on a lower timeframe chart. Ideal for situating price action in the bigger picture.
Dynamic Line Coloring:
Green when price is above the indicator (bullish bias)
Red when price is below (bearish bias)
Adaptive Background Fill:
Darker shades when price is strongly trending (above or below both indicators)
Softer shades when price is in a transition zone (between the two indicators)
User Customization:
Adjustable SMA length, Supertrend period and factor
Selectable higher timeframe for analysis
This tool helps traders:
Confirm trend direction across timeframes
Identify transitional phases
Spot confluences between short-term and long-term trend indicators
🔹 This indicator idea is inspired by the original MAST indicator developed by Definedge. I have made additional modifications and enhancements to tailor it to my trading needs. Full credit and respect to Definedge for the original concept.
版本注释
MAST is a multi-timeframe overlay indicator that combines a user-selectable Moving Average (SMA, EMA, or WMA) with a Supertrend to help traders visualize dynamic trend zones with enhanced clarity and actionable insight.🔍 Features:
Multi-Timeframe Support: Plot MA and Supertrend from higher timeframes on your current chart for broader context.
Custom MA Type: Choose between SMA, EMA, or WMA for personalized trend smoothing.
Visual Trend Zones: Dynamic background fills clearly indicate whether price is:
Above both indicators (strong bullish trend)
Below both indicators (strong bearish trend)
In between (potential consolidation or reversal)
Auto-colored Plots: Both lines adapt colors in real-time based on price relative position.
🧠 Why Use MTF?
Multi-Timeframe analysis (MTF) allows you to overlay higher timeframe signals (like daily Supertrend on an hourly chart), helping you avoid noise and align trades with the dominant market structure.
💡 This indicator is inspired by the Definedge MAST indicator. Full credit and respect to Definedge for the original idea. This version includes custom enhancements to suit my specific trading workflow.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。