Noon Barbari
Sign up

Back to all indicators

ema_pullbackStructure indicator

EMA Pullback

Triple-EMA trend filter with ATR-gated pullback entries — long & short.

What it is

Triple-EMA trend filter with ATR-gated pullback entries — long & short.

EMA Pullback is a composite entry model rather than a single line. Three exponential moving averages set the context — a fast and a slow EMA define the immediate trend and a much slower 'regime' EMA confirms the bigger picture. The model only looks for longs when the stack is bullish and shorts when it is bearish.

Once the trend is aligned, it waits. Rather than buying strength, it waits for price to pull back toward the fast EMA within a configurable tolerance, then requires an ATR-gated trigger (the move back in-trend must clear a volatility threshold) before emitting long_signal or short_signal. A maximum-wait window cancels a stale setup if the pullback never resolves.

The benefit is selectivity: entries cluster at the start of trend continuations rather than chasing extended moves. The cost is missed trades when a trend runs without pulling back. The wait_long / wait_short outputs expose whether the model is currently staging a setup.

Read the full EMA Pullback definition in the glossary →

Live chart

TradingView has no built-in study for this indicator, so there's no live chart to embed here. It's a structure / smart-money tool — the best way to see it is to run it inside a strategy and backtest it.

Parameters

ParameterDefaultRange
Fast EMA1001 – 800
Slow EMA2002 – 1000
Regime EMA5002 – 2000
ATR period142 – 200
ATR SMA501 – 200
ATR × long10 – 10
ATR × short1.50 – 10
Pullback tol %0.10 – 5
Max wait bars501 – 500

Output fields

The named values this indicator exposes to your entry and exit rules.

long signalshort signalfast EMAslow EMAregime EMAATRwaiting longwaiting short

Backtest this indicator

Drop this indicator into a rule-set, run it over years of BTC/USDT data, and see whether the edge is real or just curve-fit — no credit card required.