Skip to content
All library documents

Trend-Filtered Engulfing Signals with Dynamic Stops and Targets

Article Strategy library · Author: ianzeng123

Summary

This strategy description combines engulfing candlestick patterns with a 50-period EMA trend filter. It proposes validating each pattern by comparing candle body sizes, wick proportions, and total range with ATR. Additional filters check volume and volatility. Trades are intended to follow the EMA-defined trend, with long signals above the average and short signals below it.

Risk controls are described as configurable: stops may use Fibonacci levels, fixed amounts, or ATR multiples, while targets may use Fibonacci levels or a fixed risk-reward ratio. The document also describes commission calculations, chart annotations, alerts, and position information. It warns that the approach may fare poorly in sideways or directionless conditions, that optimized settings can overfit, and that slippage can cause realized stop losses to exceed expectations. The supplied text is largely a strategy explanation and code excerpt; it gives no independently verifiable backtest results. Its claims about signal quality and adaptation should therefore be treated as design intentions rather than demonstrated performance.

Key ideas

  • The method filters engulfing patterns through candle-body, wick, and ATR-based checks.
  • A 50-period EMA is used to align entries with the prevailing trend.
  • Volume and volatility conditions provide additional signal filters.
  • Stops and targets can be set using ATR, Fibonacci levels, fixed amounts, or risk-reward rules.
  • The document identifies regime dependence, overfitting, indicator lag, and slippage as limitations.

Tags

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