OPEN-SOURCE SCRIPT

EMA Trend Reversal (Regime Change)

271
EMA Trend Reversal (Regime Change)

This indicator highlights EMA slope reversals that often coincide with trend or regime shifts, using a simple two-stage visual system.
It is especially effective on higher timeframes (Daily / Weekly) for swing trading and trend-bias awareness.

Detailed User Guide

What the signals mean

Confirmed signals (dots)

Green dot below price
- EMA slope has confirmed upward (bullish regime shift)

Red dot above price
- EMA slope has confirmed downward (bearish regime shift)

Confirmed dots only appear after the candle closes.


Unconfirmed signals (triangles)

Yellow triangle below price
- EMA is turning up intrabar (not yet confirmed)

Yellow triangle above price
- EMA is turning down intrabar (not yet confirmed)
Unconfirmed signals may repeat at a set interval until confirmation.

Alerts
This script provides two alerts:
  • EMA Reversal UP
  • EMA Reversal DOWN

Each alert can fire on:
  • Initial unconfirmed reversal
  • Reminder interval while unconfirmed
  • Final confirmed reversal

Alerts will NOT fire unless this indicator is active on at least one chart.
It may be kept on a chart you do not actively trade.

Settings
  • EMA Length (default: 21)
  • Reminder interval (minutes)
  • Show / hide unconfirmed triangles
  • Show / hide confirmed dots
  • Dot transparency
  • Colors (locked to preserve signal meaning)


Best use cases

  • Identifying trend or regime changes
  • Weekly swing trade entries and exits
  • Holding-period guidance during trends
  • Alert-based monitoring without watching charts


This is not a scalp or oscillator signal.
It works best when combined with structure, support/resistance, or higher-timeframe context.

Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
All trading involves risk. Use at your own discretion.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.