the work relies on the SuperTrend indicator (it is integrated into the Expert Advisor, there is not any need to look as an it separately). The sign is formed by the entire value of indexes using the very same settings, but for distinct timeframes from M1 to M5. the amount of timeframes is determined by the counttf parameter. For example, with the counttf = 3 parameter, the signal is removed from the M1, M2 and M3 timeframes. just when the entire signal arises, the place is set (according to the total signal). depending on the Inversion parameter, the management of work is determined.
The system consists of a maximum of 26 currency pairs. For all of them, the indicator settings are the same, the difference for tools is only in the value of Inversion. The limitsymbols parameter allows you to adjust the number of characters (by default, 3), for ease of introductory testing to the user. For each currency pair, the direction of work that gives the best results is experimentally determined. Thus, the Expert Advisor contains a set of currency pairs that work with the same indicator and the same settings and on different timeframes. This approach is the basis for the stable work of the expert Advisor, since neither parameter adjustment methods nor optimization methods were used in this project. The Expert Advisor is simply created and tested taking into account the direction for the specified tool. All the user needs is to choose the amount of the deposit, the volume of the investment package (limitsymbols), the risk of the deposit amount (Risk) and the potential profit as a percentage (closeprofitpercentdeposit).
[spoiler title=”Read More…”]
Due to the overlap when working in multi-currency mode, a low level of drawdown is achieved. You can create a set with a different number of currency pairs and thus adjust the yield, as well as drawdowns. You can leave, for example, 3-5 currency pairs, while you can reduce the amount of the deposit. The larger the deposit amount, the smaller the drawdown and the greater the reliability of the system. The check was carried out both on the history of MetaQuotes and on the history of two real brokers.
Note:You need to select all the symbols that the multi-currency expert Advisor will work with in the market overview, or just select all the symbols! The Expert Advisor uses position tracking in netting mode (there can be only one position per symbol). The Expert Advisor does not work with independent accounting of positions (hedging, when there can be several positions for one symbol). When testing on a demo account, you need to choose an account without hedging. Also take this fact into account when opening an account for real work. For maximum correctness, test at control points with a period of M1. For testing, use the server from access. metatrader5. com:443 (there is a full history), the instructions for testing are shown in the figure.
Note:You need to select all the symbols that the multi-currency expert Advisor will work with in the market overview, or just select all the symbols! The Expert Advisor uses position tracking in netting mode (there can be only one position per symbol). The Expert Advisor does not work with independent accounting of positions (hedging, when there can be several positions for one symbol). When testing on a demo account, you need to choose an account without hedging. Also take this fact into account when opening an account for real work. For maximum correctness, test at control points with a period of M1. For testing, use the server from access. metatrader5. com:443 (there is a full history), the instructions for testing are shown in the figure.
- lotdigits — Number of digits in the lot step after the decimal point (2-min. step: 0.01; 1-min. step: 0.1; 0-min. step: 1.0);
- Lot-Allows you to set the lot directly;
- Risk — the risk with which we enter the market is set as a percentage of losses from the total deposit;
- closeprofitpercentdeposit-Potential profit as a percentage (profit as a percentage of the deposit);
- limitsymbols — Volume of the investment package (number of currency pairs);
- OrderComment-Comment for the order (at the user’s request);
- closepoly-Allows you to cover all orders of a multi-currency expert Advisor in total with a total profit;
- SL — Real Stop Loss;
- TP-Real Take Profit;
- cciperiod – Parameter of the SuperTrend indicator;
- atrperiod – Parameter of the SuperTrend indicator;
- Level – Parameter of the SuperTrend indicator;
- Shift – Parameter of the SuperTrend indicator;
- counttf — The number of timeframes from which the signal is taken;
- Symbol1 — Name of the tool 1, if Symbol1 = “” – the tool is disabled;
- Inversion1 — Direction of work (by trend or channel) for tool 1;
- …
- symboln — Name of the tool N, if symboln = “” – the tool is disabled;
- inversionn — Direction of work (by trend or in the channel) for the tool N;
[/spoiler]