Skip to content
All library documents

Trend Following with EMA Filtering and Pullback Limit Entries

Article Strategy library · Author: ChaoZhang

Summary

This long-only strategy uses a long-term EMA as a trend filter and places a limit buy order at a shorter EMA when price is above that filter. Its stated design aims to enter on pullbacks while trading in the direction of the broader trend. The accompanying explanation describes equity-based position sizing and fixed percentage take-profit and stop-loss levels, while the published parameters and backtest settings identify a daily BTC/USDT futures configuration over a specified historical interval.

The source and narrative contain inconsistencies that limit how confidently the method can be interpreted: the short EMA is labeled as a 20-period average but defaults to 30, and the implementation calculates exit prices from the EMA rather than the actual fill price. The code also restricts entries to a recent window whose length is described as 30 days, while the published backtest spans a much longer period. No performance results are reported. The document flags choppy markets, unfilled limit orders, and reversals as risks.

Key ideas

  • The strategy considers long entries only when price is above its long-term EMA filter.
  • It places a limit buy at a shorter EMA to seek entry on a pullback.
  • The description specifies equity-based position sizing and fixed percentage profit and loss levels.
  • The implementation and narrative disagree on the short EMA period and on the effective backtest window.
  • No performance results are provided, and the stated risks include choppy markets and incomplete limit fills.

Tags

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