OPEN-SOURCE SCRIPT

EMA Regime (9/20/50/100/200) — Stacked with 200 Filter

66
EMA Regime (9/20/50/100/200) — Stacked Long/Short Box

Plots the 9, 20, 50, 100, and 200 EMAs on the chart.

Checks if price is above or below each EMA and whether the EMAs are stacked in order.

LONG signal: price above all selected EMAs and EMAs stacked 9 > 20 > 50 > 100 >(> 200 if strict mode on).

SHORT signal: price below all selected EMAs and EMAs stacked 9 < 20 < 50 < 100 (< 200 if strict mode on).

Shows a two-row table (LONGS / SHORTS) so you can quickly see which EMAs are aligned.

Optionally colors candles green/red when a full long/short regime is active.

Can show labels when a new LONG or SHORT condition appears.

Has alerts you can use for automated notifications when the regime flips.

“Use 200 EMA in the stack” lets you choose ultra-strict mode (9>20>50>100>200) or lighter mode (9>20>50>100 but price & 9 above 200).

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.