This multicurrency Expert Advisor uses 28 currency pairs. The predictions are based on two indicators: Bollinger Bands and DEMA.
- Optimization from 2007 or from 2018 depending on the choice of set files
- Before testing in the strategy tester or installing the EA on the chart, make sure that all 28 currency pairs were visible and added to the terminal: EURUSD, EURGBP, EURCHF, EURAUD, EURCAD, EURJPY, EURNZD, GBPUSD, GBPAUD, GBPCHF, GBPJPY, GBPCAD, GBPNZD, USDCAD , USDJPY, USDCHF, AUDUSD, AUDCHF, AUDCAD, AUDJPY, AUDNZD, AUDNZD, NZDUSD, NZDJPY, NZDCAD, NZDCHF, CADCHF, CADJPY, CHFJPY
- In the strategy tester, set the "Open prices only" trading mode, this will not affect the testing results, but will significantly speed up the process.
- Desired broker Roboforex
Download set settings file for M15 and M5 04.01.2021, set files will be updated by me, if possible, always download the latest version, stay tuned
These files are optimized for the Roboforex broker, it is advisable for other brokers to do the optimization yourself, since there are differences in the trading histories for different brokers.
To do the optimization on your own, you need to optimize for each pair separately, set the field in the advisor to Active = true for the pair to be optimized, for the other pairs, set Active = false, start optimization, save the best result and repeat this action for each pair.Optimization can only be carried out at opening prices to speed up the process.
For greater profitability, you can enable the parameter of auto lot increase depending on profit isDynamicLot = true, koef = 0.5, but watch out for risks, be sure to check the advisor in the strategy tester with such parameters before using it.
- LotSize - lot size
- UseSameLotSizeForAllPairs - the ability to select the lot size for each pair separately, true by default, one lot size for all specified by the parameter above
- TakeProfit - if the value is 0, then the trade will be closed according to the algorithm
- StopLoss - if the value is 0, then the trade will be closed according to the algorithm
- MaxProcentDropDown - automatic sequential closing of positions if the drawdown exceeds the percentage specified in this parameter, if 0 is specified this function is disabled by default (for example, MaxProcentDropDown = 30 means if the drawdown exceeds 30%, the positions will be gradually closed until the drawdown is less than 30%)
- CountOrders - the maximum number of open transactions for one currency pair
- IsDynamicLot - enable automatic formation of the lot size depending on the balance or free margin
- is_koef_for_each - if true, then the lot size is formed from the balance for each currency pair separately, if false, then from the total balance or free margin
- koef - coefficient for forming the lot size, the larger, the greater the risks
- from - formation of the lot size depending on the balance or free margin
- CurrencyName - the name of the currency pair for the current broker
- Active - whether to use this currency pair, or disable
- bands_period - Bollinger Bands period
- dema_period - DEMA period
- bands_shift - shift relative to the Bollinger Bands chart
- deviation - standard deviation of Bollinger Bands
- No martingale, no grid, no high risk strategies. All strategies used here are trend following and reversal.
- added a new parameter MaxProcentDropDown, automatic sequential closing of positions if the drawdown exceeds the percentage specified in this parameter, if 0 is specified this function is disabled by default (for example, MaxProcentDropDown = 30 means if the drawdown exceeds 30%, positions will be gradually closed until the drawdown becomes less than 30%)
- Fixed a bug in calculating the volume of a dynamic lot
- Changed default settings for checking on history from 2007
- fixed visualization of the trend panel
- added a new parameter profit_factor for custom optimization of the EA
- loading and updating automatically history for each currency pair when you open an expert
New default settings