Variables:

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7855
KeelOver
The script closes all open positions and opens new one with the difference of Buy and Sell lots.
MDAC_ELDER The MDAC indicator by Elder
The MDAC indicator by Elder