PROTECTED SOURCE SCRIPT
已更新 Multi-Timeframe SMA + Alerts

This indicator displays the Simple Moving Average (SMA) across multiple timeframes simultaneously on your chart. It helps traders quickly visualize trend direction across different intervals without switching charts.
Features:
Use Cases:
How to Use:
Tips:
Features:
- Multi-Timeframe SMA: Shows SMA for multiple timeframes (1m, 3m, 5m, 15m, 30m by default; visibility customizable).
- Customizable SMA Length: Choose any SMA length to suit your trading strategy.
- Colored SMAs: Each timeframe is represented with a distinct color for easy differentiation.
- Price vs SMA Table: Displays SMA values and whether the current price is Above, Below, or At the SMA for each timeframe.
- Chart Labels: Marks the last SMA values on the chart for quick reference.
- Alerts: Set alerts when price crosses above or below any timeframe’s SMA, with clear messages indicating the timeframe and price.
- Customizable Inputs: Select which SMAs to display and define the SMA length.
Use Cases:
- Identify short-term vs. longer-term trend alignment.
- Spot potential entry or exit points when price crosses the SMA on multiple timeframes.
- Keep track of SMA relationships without constantly switching timeframes.
How to Use:
- Add the indicator to any chart.
- Choose which timeframes’ SMAs to display.
- Set the SMA length according to your strategy.
- Optionally, set alerts for crossovers or crossunders.
- Use the table and labels to monitor SMA levels at a glance.
Tips:
- Combine with other indicators for confirmation of trend direction.
- Use alerts to avoid constantly watching the chart.
版本注释
Fixing the alert message. 受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。