Skip to content
All library documents

ATR Trailing Stops and Moving Average Signals for Trend Tracking

Article Strategy library · Author: ChaoZhang

Summary

This strategy calculates a trailing stop from average true range and a selected price source, then compares a configurable moving average with that stop to generate entry signals. A crossover above the stop supports a long entry, while a crossover below supports a short entry if short trading is enabled. The price source can optionally come from Heikin Ashi candles, and the moving average can use several common smoothing methods. Profit and loss thresholds are also provided to close positions.

The document presents volatility-scaled stops as a way to adapt to changing price movement, while warning that gaps may trigger misleading signals and that loose conditions can cause excessive trading. It recommends tuning the moving average and ATR periods, adding filters, and reviewing stop and profit levels. The listed settings and BTC spot backtest interval describe configuration only; no performance evidence is supplied. The prose calls the method a dynamic moving average, but the implementation's key trailing level is ATR-based, with the moving average used in the crossover signal. Results will also depend on the selected source and whether short entries are allowed.

Key ideas

  • An ATR-scaled trailing stop updates with price movement and serves as the main signal reference.
  • Crossovers between a selected moving average and the trailing stop create potential long or short entries.
  • Heikin Ashi pricing and several moving average types are configurable, while short trading can be disabled.
  • The document warns about gap risk, frequent trades, and sensitivity to parameter choices.
  • The published setup gives no performance results, and the moving average is a signal component rather than the trailing stop itself.

Tags

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