P.S. The version Right differs from the version in the ArtificialIntelligence in that it fixes a small bug which caused the ATS to "increase" the position in the same direction instead of reversing by the double, in cases when the covered orders were not closed in the opposite direction. In this version such mess does not happen. But it is still necessary to manually close the positions on the instruments, so they do not accumulate swaps (can be done once a day).
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7650
This indicator version was created using the code for Omega, written by John Ehlersexp_iCustom_v1
Universal Expert Advisor for working with any Custom indicator, that draws buy/sell arrows.