PROTECTED SOURCE SCRIPT
Atualizado

Multi-Timeframe SMA + Alerts

68
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.
Notas de Lançamento
Fixing the alert message.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.