Indicator · Pine Script v6 · On the chart

EMA System

by eddiebelaval

EMA System plots four exponential moving averages on the price chart and marks a long-only pullback setup.

View on GitHub

GitHub stars7on the repository
Pine versionv6current
Lines of code121
Settings14inputs
LicenceNone stated
Last update3 months ago24 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

EMA System treats price above the 200 EMA and the 21 EMA above the 50 EMA as a valid trend, then flags a buy when price is near the 21 EMA, volume is below its simple moving average, and a bullish candle confirms. Users set the four lengths, ATR or percentage distance, volume threshold, and candle mode, and can show labels and a regime background. It does not define exits or a stop.

Details

Published by

eddiebelaval on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Trend, Moving averages, Volatility & bands, Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
EMA 9int9len9
EMA 21int21len21
EMA 50int50len50
EMA 200int200len200
Proximidad por ATR (recomendado)booltrueuseATRProximity
ATR Lengthint14atrLen
Distancia a EMA21 (ATR x)float0.30atrMult
Distancia a EMA21 (%) si no usas ATRfloat0.25pctProximity
Vol SMA Lengthint20volLen
Volumen 'se seca' si Vol < SMA *float0.80volDryFactor
Confirmación vela alcistastringClose>OpenbullishMode
Mostrar etiquetasbooltrueshowLabels
Show all 14 settings
SettingTypeDefaultVariable
Fondo (régimen)booltrueshowBg
Mostrar estado (esquina)booltrueshowStatus
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Adaptive MA Slope

by capissimo
114 stars

This indicator calculates Kaufman's Adaptive Moving Average (KAMA) on a chosen price source and determines trend direction based on the slope across a configurable lookback window. Signals can be filtered by short-term volatility expansion using ATR comparison

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Adaptive MA Slope
9 stars

This indicator plots a volume-weighted moving average as a central trend baseline and surrounds it with ATR-based volatility bands. It colors the trend and optional price bars according to whether price is on the bullish or bearish side of those bands. Users c

Indicator v6 TrendMoving averages
Updated 4 months ago · MIT GitHub repository of Volume Weighted Trend [QuantAlgo]

BOLL-20-50 TARAMA

by gocaman
3 stars

Calculates 50-period and 200-period Exponential Moving Averages alongside standard and wide Bollinger Bands. It generates buy and sell signal labels on the chart when the Bollinger Band basis crosses above or below the 50 EMA. The script also includes volume-w

Indicator v5 Moving averagesVolatility & bands
Updated today · None stated GitHub repository of BOLL-20-50 TARAMA

Kell + Minervini VCP

by mirkothepirko
2 stars

This price-chart indicator combines Oliver Kell moving-average phases with Minervini volatility contraction. It plots EMA 10, 20, 50 and 200 and can require the SMA 50, 150 and 200 trend template. It flags a wedge pop above EMA 10 after an EMA 20 cross, pullba

Indicator v6 TrendMoving averages
Updated 3 months ago · Custom licence GitHub repository of Kell + Minervini VCP
2 stars

The Multi EMA + VWAP Combo indicator consolidates five Exponential Moving Averages (EMAs) and a Volume Weighted Average Price (VWAP) into a single chart overlay. It calculates five configurable EMAs (defaulting to 9, 21, 50, 100, and 200 periods) to track mult

Indicator v6 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Multi EMA + VWAP Combo

Keltner Hull Suite

by ymlee1104
1 stars

This overlay indicator draws a volume-weighted trend line and ATR bands on the price chart. It marks a bullish or bearish state when close moves outside those bands and keeps the previous state while price stays between them. Users can show a filled cloud or o

Indicator v6 TrendMoving averages
Updated 7 months ago · None stated GitHub repository of Keltner Hull Suite

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers