Skip to content
All library documents

An 8-Period EMA Crossover Strategy with Stop Losses

Article Strategy library · Author: ChaoZhang

Summary

This note describes a simple trend-following system using an 8-period exponential moving average. It enters long when the closing price crosses above the EMA and short when it crosses below, with an optional stop loss. The EMA weights recent prices more heavily than older ones, so it reacts to price changes while smoothing some short-term movement.

The document provides a BTC/USDT futures backtest configuration covering roughly one year, but reports no performance results. Its written explanation reverses the trade directions compared with the source logic: the source goes long on an upward cross and short on a downward cross. The stop distance is configurable, and the note suggests tuning the EMA period, adding filters such as RSI, and evaluating stop placement. As a single-indicator system, it can produce false signals in choppy markets, while lag may delay entries or exits during sharp reversals. No evidence is given that the suggested settings are profitable.

Key ideas

  • The source logic enters long when the close crosses above the EMA and short when it crosses below.
  • The default EMA period is 8, and an optional stop loss is provided.
  • An EMA gives greater weight to recent prices, making it more responsive than a simple moving average.
  • The note recommends testing parameters and considering additional filters, but reports no backtest results.
  • Choppy markets and delayed signals during reversals are stated limitations.

Tags

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