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.
Example
BTC is above all three EMAs; price dips to the fast EMA, holds, then closes back up by more than the ATR gate — ema_pullback prints long_signal = 1 and the strategy enters.
How Noon Barbari uses EMA Pullback
Every concept here is implemented in the platform. Open the relevant docs or tool to see it in action.
Use EMA Pullback in noonbarbari →Related terms
- Indicators
Exponential moving average (EMA)
Weighted moving average that gives recent bars exponentially more weight.
- Indicators
Average true range (ATR)
Rolling average of the true range — the canonical volatility measure for stops.
- Market structure
Trend
A persistent directional drift in price — up, down, or sideways.
- Indicators
Moving average
A rolling average of price over a fixed window, used to smooth noise.