Skip to content
All library documents

EMA Crossover Rules with Percentage Stops and Break-Even

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses a fast 9-period EMA and a slow 21-period EMA to generate directional signals: a cross above favors a long position, while a cross below favors a short. Opposite crosses also serve as signal-based exits. Percentage-based stop-loss and take-profit levels are described, along with a break-even adjustment intended to move the stop to the entry price after a favorable move.

The document explains the rationale, adjustable parameters, and common limitations of crossover systems, including lag, false signals, and sensitivity to parameter choices. It provides no performance results. Its published configuration identifies a Binance BTC/USDT futures market and a test period from late 2022 to late 2023, despite the title referring to gold. The source code's order-level handling of percentage targets and break-even conditions may not implement the prose description as intended, so the stated risk controls warrant independent verification.

Key ideas

  • A 9-period EMA crossing above a 21-period EMA triggers a long signal, and a downward cross triggers a short signal.
  • Opposite EMA crosses are also described as exits from existing positions.
  • The strategy specifies percentage-based stop-loss and take-profit levels, plus a break-even adjustment after a favorable price move.
  • Moving-average lag, false signals, and parameter sensitivity are identified as key limitations.
  • The published test configuration concerns BTC/USDT futures, not gold, and provides no reported performance evidence.

Tags

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