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 Ltd.
Original code: https://www.mql5.com/ru/code/17988
ListPositions
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
Bollinger
The Expert Advisor trades inside a channel, reversing positions at the channel borders.
ToClearChartObjectsByType
The script removes from the current chart all objects of the user selected type