Trades based on the previous candlestick: it is bearish, the EA sells; if it is bullish, the EA buys.
Take Profit, Trailing Stop.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17988
A list of all positions. An example of working with CPositionInfo.A cross-platform library of original mathematical functions
Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations