Skip to content
All library documents

Five-Day EMA Breakout Entries with Risk-Based Targets

Article Strategy library · Author: ChaoZhang

Summary

This strategy looks for an upward break after the prior bar’s high has remained below the five-day exponential moving average. An optional filter requires the current close to exceed the previous close. Long entries are placed at the prior bar’s high; the stop can sit at the prior low or farther away by a configurable point amount, and the target is set using a risk-reward multiple. The document also describes a mirrored sell signal, but the supplied source uses it for chart labels and tracking only, not short orders.

The notes discuss false breakouts in choppy markets, EMA lag, slippage, and drawdown during losing streaks. They suggest higher-timeframe confirmation, volatility-based stops, and market-state filters as possible improvements. The published backtest covers one week of BTC-USDT futures on a 30-minute period, but gives no performance results. The source also does not show actual exit orders when the configured stop or target is reached; it closes a long position when those conditions trigger. Therefore, the descriptions of flexible risk controls should be checked against implementation before relying on them.

Key ideas

  • A long signal follows a bar whose high is below the five-day EMA when price breaks above that bar’s high.
  • An optional rising-close filter can add confirmation to the entry condition.
  • The stop uses the prior low, with an optional extra distance, and the target is based on a risk-reward multiple.
  • Sell signals are visual only in the supplied source; it does not enter short positions.
  • The short backtest window reports no results, and the source’s stop and target handling merits verification.

Tags

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