Skip to content
All library documents

EMA Pullback Entries with Trend and Volatility Filters

Article TradingView scripts

Summary

This long-only strategy looks for pullbacks toward a rising 9-period EMA after an established uptrend. It requires the 9-, 21-, and 50-period averages to be stacked bullishly, price to have stayed above the 21-period average for a minimum period, repeated tests near that average, and a high share of recent closes above the 9-period average. Entry occurs when price is at or above, but within a configurable percentage of, the 9-period EMA. ATR percentage and distance from the 52-week low provide additional filters.

Exits can be triggered by a close below the 21-period EMA, below the 9-period EMA, or either. The accompanying trading note suggests an EMA-based stop and tightening it after a favorable move, but the coded strategy itself only exits on the selected EMA conditions. The script specifies commission and slippage assumptions, yet the document provides no performance results or validation. Its bar-based approximations, configurable thresholds, and asset and timeframe sensitivity limit what can be inferred without further testing.

Key ideas

  • The strategy seeks long entries on shallow pullbacks within a bullishly stacked EMA trend.
  • It filters entries using trend persistence, prior tests near the 21-period EMA, and recent closes above the 9-period EMA.
  • ATR percentage and distance from the 52-week low act as additional quality screens.
  • Exit rules can use the 9-period EMA, the 21-period EMA, or both.
  • The document describes no backtest results, so effectiveness is not established.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.