OPEN-SOURCE SCRIPT
Neon 4 Stack EMAs

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.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.