PROTECTED SOURCE SCRIPT
已更新

Multi-Timeframe SMA + Alerts

63
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:
  • 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:
  1. Add the indicator to any chart.
  2. Choose which timeframes’ SMAs to display.
  3. Set the SMA length according to your strategy.
  4. Optionally, set alerts for crossovers or crossunders.
  5. 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。