Skip to content
All library documents

ATR Trailing Stops and EMA-Based Direction Signals

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses Average True Range (ATR) to scale a trailing stop to recent volatility and price signals around an EMA to choose long or short entries. Its stated rules also describe moving take profit and stop loss levels as a position changes, then closing and reversing when the stop is reached. The parameters include an ATR period, a sensitivity multiplier, an optional Heikin Ashi signal source, and a stop distance expressed in ATR multiples.

The document gives a short ETH/USDT futures backtest configuration, but no performance results, so it does not establish profitability or robustness. There is also a discrepancy between the prose and the supplied logic: the code uses a one-period EMA and crossover of an ATR trailing stop, rather than a conventional trend EMA filter, and its stop-level update may not behave as the prose suggests for both directions. The described risks include poor parameter choices, repeated trades and costs in ranging markets, and losses around trend reversals.

Key ideas

  • ATR scales a trailing stop according to recent market volatility.
  • The strategy uses price crossings around an ATR trailing stop to generate long and short signals.
  • An optional Heikin Ashi close can serve as the signal source.
  • The document warns that ranging markets may cause repeated trades and transaction costs.
  • The published backtest settings do not include performance results.

Tags

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