I present you the Trailing Stop that can do everything expected from a trailing stop.
In the strategy tester the EA opens the order pairs by itself, so that its operation could be seen and understood.
It is even possible to run optimization and develop a new strategy based on it.Check, test, and if you see something still missing, it will be added!
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14119
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.