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.
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
| Parameter | Default | Range |
|---|---|---|
| Fast EMA | 100 | 1 – 800 |
| Slow EMA | 200 | 2 – 1000 |
| Regime EMA | 500 | 2 – 2000 |
| ATR period | 14 | 2 – 200 |
| ATR SMA | 50 | 1 – 200 |
| ATR × long | 1 | 0 – 10 |
| ATR × short | 1.5 | 0 – 10 |
| Pullback tol % | 0.1 | 0 – 5 |
| Max wait bars | 50 | 1 – 500 |
Output fields
The named values this indicator exposes to your entry and exit rules.
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.