The Expert Advisor does not require constant configuration and optimization of parameters. At the same time, the Expert Advisor can trade on a variety of currency pairs or other trading instruments, such as stocks, metals, cryptocurrencies, etc…. The principle of trading is hedging (insurance of transactions). When one transaction is made to buy, and the second for another asset to sell. At the same time, both assets have a high correlation. Thanks to this principle, the Expert Advisor does not enter large drawdowns. The regulation of profitability is achieved by changing the lot. The minimum recommended deposit is from 500 USD with a lot of 0.01. At the same time, the expected profit will be 7-15% per month. The remaining parameters can be left as is (for RoboForex Alpari and other brokers with similar trading conditions). You can also set the closing at a given value of the total profit or at an increase in the equity of the entire account. The new versions of the Expert Advisor have many additional features that you can learn about on the Telegram channel.
The cross on the left side of the table indicates that the currency pair is disabled from trading. If You want to stop the EA completely, click all the crosses and wait for the EA to close all open positions. Further, it will not open new deals. When you click on the profit button, the expert Advisor will offer to close the currently available profit for this pair.
The two right columns are the profit for the current day and the total profit since the EA was launched. In the right information window, the expert Advisor tells You what actions it performs.
The expert Advisor works on both MT5 and MT4, but it is not possible to test the MT4 version in the tester due to the limitations of the MT4 tester.https://www.youtube.com/embed/1iVuXLnpRQw?feature=oembedhttps://www.youtube.com/embed/B8T0rBXqhPA?feature=oembed
Symbol 1 = “EURGBP, EURJPY, AUDCAD, EURUSD”; – Line of the 1st set of instruments
Symbol 2= “GBPCHF, CHFJPY,NZDUSD,USDCHF”; – Line of the 2nd set of instruments
TesterPara = -1; If the value is -1, all pairs trade, if the value is, for example, 0, then only the first pair in the list, USDCAD-NZDUSD, trades. Thus, in the tester, you can iterate over the pairs for their separate optimization.
Fix_Lot = 0.1; If the value is greater than 0, the lot is fixed, otherwise it will be calculated using the Lot parameter %
Lot_Percent_Balance = 0.01; percentage of the deposit (lot= Balance x Lot_Percent_Balance / 1000)
KLot = 0.0; coefficient of increase of top-up orders (if it is equal to 0, the Expert Advisor takes the coefficient from the next line according to the pair number)
KLot_string = “1.5, 1.5, 2.0, 2.0”;
K_balance_lot = 0; If you need to set different volumes in the pair’s instruments to compensate for the volatility or the value of the point, then we apply the volume balance coefficient. Let’s say we have a GOLD-SILVER pair, the volatility of gold is much higher than silver and the value of the point is also much higher. Let’s say we decided that we need to put a lot of silver 7.5 times more than gold, we put K_balance_lot-7.5. Thus, if the first lot for gold is 0.1, then for silver it is 0.75. (If
Kbalance_lot is 0 then the EA takes the coefficient from the next line according to the pair number)
K_balance_lot_string = “1.5, 0.9, 1.0, 1.0”;
MaxOrders = 5; Maximum number of open positions for each pair
MaxLot = 5.00; Maximum total lot
for each pair
TIMEFRAMES = 5; The timeframe on which the Expert Advisor is looking for a correlation of instruments
BarsCorrelation = 0; The number of candles on which the EA performs the correlation analysis (If the EA takes the coefficient from the next line according to the pair number)
K_Correlation_Open = 0.5; Correlation coefficient below which the EA will not open new positions
Bars Correlation Koeff = 2000; The number of candles on which we perform the correlation analysis for the filter
Percent_Delta_Open = 75; Percentage of the maximum divergence of instruments at which we open positions. (For an earlier opening, you can set 30-50% For a more accurate one 70-90%)
________Control_History_Correlation _ =””;
Control_History_Correlation = true; Analyze correlation on history for the last X bar
K_Correlation_Min = 0.1; If the correlation on the history fell below 0.1, then we prohibit the opening of new ones
AveragePeriodCorrelation = 2000; Number of candlesticks for analyzing the correlation history
K_D_profit = 0.0; The coefficient of adjustment of the profit amount at which we close all positions. For earlier closing, put the number 20 or more. To increase the profit, put from 1 -20) The total volume of positions and the cost of ticks also participate in the profit calculation formula. If set to 0 then take the value from the next line:
K_D_profit_string = “10.0, 15, 10, 5”;
EquityCloseProfit = 2.0; / / The percentage of the equity gain of the entire account at which the EA closes all positions on all instruments
SumProfitClose = 2.0; The percentage of the current profit of the entire account at which the EA closes all positions on all instruments
MinProfitClose = 0.1; Minimum profit at which the EA has the right to close trades
MinProfitCloseMaxOrders = 1.0; The minimum profit at which the EA will close all trades of the pair if it has accumulated the maximum possible number of orders or the maximum total volume of transactions.
LossClosePercent = 0.0; Loss as a percentage of the deposit at which all trades on the pair are closed and the pair is disconnected from trading. To turn it on, press the button again (to the left of the pair).
LossClose = 0.0; Loss in the deposit currency at which all trades on the pair are closed and the pair is disconnected from trading. To turn it on, press the button again (to the left of the pair).
StopTradeAfterLoss = true; Stop trading on the pair that received a loss
________adding_orders___ = “”;
Step_Spead = 0; The total loss of a pair of instruments at which we allow topping up (measured in spreads) If the spread on your account = 0, then set the minimum number in the MinSpead parameter. If set to 0, the EA will select this value from the next row according to the pair number. Top-ups are carried out with vitrual orders at a distance of Level_TralSpead from the current price
StepSpead_string = “8, 13, 13, 15”;
Level_TralSpead = 0; Distance from the current price to the virtual pending order, If 0, select from the list below:
LevelTralSpead_string = “5, 8, 8, 0”; If there is 0 in the list, then a market position at the current price will be opened instead of a virtual delay.
MinSpead = 2; if the broker’s spread is less than the specified one, then we take this value
NoOpenSpread = 10; Do not open positions if the distance between instruments is less than the specified number (Measured in the number of spreads)
TimeStart = 0; the time when the EA started working