Skip to content
All library documents

ATR-Based Adaptive Stop Levels for Volatility-Aware Risk Control

Article MQL5 code base

Summary

XATRStopLevel is an indicator that sets a stop-loss level for an open position using the XATR volatility measure. The underlying method uses the average true range over a chosen period, multiplied by a factor, to determine the distance between the entry and stop order. Because that distance is linked to recent trading range, it expands when volatility is higher and contracts when volatility is lower.

The document presents this as a way to adapt risk controls to changing market conditions. It identifies the indicator’s author and notes that an earlier version was published in 2009. However, it does not specify parameter choices, explain how to select the multiplier, compare outcomes with fixed stops, or provide backtest evidence. It describes an indicator concept rather than a complete trading strategy, and stop placement alone does not establish expected profitability or account for execution slippage and gaps.

Key ideas

  • The indicator derives stop distance from average true range multiplied by a chosen factor.
  • ATR-based stops widen in more volatile conditions and narrow in calmer conditions.
  • The document gives no parameter-selection method or performance evidence.
  • Adaptive stop placement is a risk-management component, not a complete trading strategy.

Tags

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