An example of a multicurrency Expert Advisor that uses the loop, where each iteration is responsible for trading each symbol separately.
In order not to depend on ticks of any of the symbols, the OnTimer function is used for event generation.
Values of Bollinger Bands are used for trading.
The EA trades according to the following strategy:
The presented code is only an example of how to create a multicurrency Expert Advisor. All the details of the program operation are described in the code.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1862
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.