Skip to content
All library documents

EMA Crossover Signals with Separate Buy and Sell Periods

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses a one-period fast EMA and slower EMAs to create entry and exit signals. A cross of price above the buy-signal EMA opens a long position, while a cross below the sell-signal EMA closes it. The slow periods can be configured separately, and the settings include a choice of long, short, or both directions. The example parameters use slow periods of 20 and 30, and the published backtest configuration uses BTC/USDT futures on hourly bars over about one month.

The document describes crossover systems as straightforward and adjustable, while warning that lag and sideways price action can produce late or repeated signals. It suggests testing parameters, adding filters, and defining stop-loss and take-profit rules. The included source does not fully match the description: it hardcodes the fast EMA to one, never applies the selected trade direction, leaves the date-range check permanently true, and its orders implement long entries and closes rather than the advertised short or two-way modes. No backtest performance figures are provided, so the document does not establish that the setup is profitable.

Key ideas

  • A one-period EMA is compared with separate slower EMAs for buy and sell signals.
  • The described buy signal is a cross above the buy EMA, and the exit is a cross below the sell EMA.
  • The settings advertise selectable trade directions, but the source does not implement them.
  • Crossover lag and repeated signals in ranging markets are stated limitations.
  • The backtest configuration supplies no performance evidence.

Tags

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