Skip to content
All library documents

Automating Trailing Stop Losses with Fixed or ATR-Based Distances

Article MQL5 code base

Summary

The document describes a trade-management tool that monitors open positions, including manually entered trades, and adjusts their stop losses automatically. A trader can set a fixed trailing distance or enable automatic distance calculation; an update also mentions an option for ATR configuration. The stated purpose is to reduce the manual work involved in managing several open trades.

The tool is described as supporting forex, commodities, cryptocurrencies, and stocks across timeframes. However, the document does not explain the precise trailing rules, how ATR settings are applied, whether stops can move in both directions, or how broker execution errors are handled beyond noting that some were addressed. It presents no test results or evidence about improved returns or reduced risk. A trailing stop can automate a chosen exit rule, but the page does not establish that any particular distance or configuration suits a given strategy or market.

Key ideas

  • The tool monitors open positions and adjusts their stop losses automatically.
  • Trailing distance can be user-defined or calculated automatically, with an ATR configuration option mentioned.
  • The description includes manually opened trades and several asset classes.
  • The document gives no performance evidence or detailed explanation of stop-adjustment and execution behavior.

Tags

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