Skip to content
All library documents

EMA Crossover Trend Following with ATR-Based Stop Levels

Article Strategy library · Author: ChaoZhang

Summary

This document describes a trend-following strategy that enters long when a 13-period EMA crosses above a 48-period EMA and enters short on the reverse crossover. It calculates a 14-period ATR and plots levels 1.5 ATR from the prior close when a crossover occurs. The supplied example applies the rules to BTC/USDT futures on Binance over a published test period, but it gives no performance results or comparison with a benchmark.

The notes frame ATR as a way to adapt stop distance to volatility and identify crossover signals visually. They also mention possible refinements such as confirming signals with price breakouts, filtering with volume or volatility measures, and testing parameters across market conditions. The stated limitations include false signals in ranging markets, sudden price drops, and sensitivity to parameter choices. Although the description calls the stop trailing, the source code plots stop levels only on crossover bars; it does not show an ongoing stop update or explicit stop order. Treat its claims about returns and risk balance as unverified.

Key ideas

  • A long signal occurs when the 13-period EMA crosses above the 48-period EMA, and the reverse cross triggers a short signal.
  • The example calculates a 14-period ATR and plots a level 1.5 ATR from the prior close when a crossover occurs.
  • EMA crossovers can lag and generate repeated false signals in range-bound markets.
  • The notes suggest testing parameter combinations and adding confirmation or filtering rules, but provide 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.