OPEN-SOURCE SCRIPT

Neon 4 Stack EMAs

249
What it does
This tool plots four Exponential Moving Averages (EMAs) with a neon glow effect, designed to provide a clear multi-horizon structure on any symbol and timeframe. Each EMA is rendered with three glow layers plus a solid core line, creating a high-visibility aesthetic without sacrificing readability of price action.

How it works (method)
Each line is a standard EMA computed on the close price. The neon effect is achieved by stacking three transparent plots of decreasing width (outer, mid, inner) behind a solid core line, all sharing the same value — no visual offset or distortion.

Default periods and roles:
- EMA No 1 (21) – Grey: short-term reference
- EMA No 2 (50) – Black: intermediate reference
- EMA No 3 (100) – Cyan: medium-term reference
- EMA No 4 (200) – Purple: long-term bias and market context

Optional Crossover Color mode highlights whether EMA 1 is above or below EMA 2 (green/red). This is a visual aid only; it does not generate signals.

Originality & usefulness
The script combines a standard multi-horizon EMA stack with a neon glow rendering technique. It prioritizes clarity and control: fully customizable periods, colors, and thickness per EMA, with an optional crossover color mode. No opaque entry/exit logic is embedded.

Inputs & customization
- Periods: 21, 50, 100, 200 (all adjustable)
- Colors: fully customizable per EMA
- Thickness: set individually per EMA
- Crossover Color: optional visual mode for EMA 1 and EMA 2
- Glow layers: individually toggleable in the Style tab

Notes & limitations
- This script does not produce buy/sell signals or alerts.
- It is intended as a visual framework to support analysis.
- Always validate with your own rules, risk controls, and market conditions.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.