Staff in MT4, the only change was mcdsample 1 to 2
He opened two orders at once, but do not know where to change MT5
MT4
/ To simplify the coding and speed up access
/ / Data are put into internal variables
MacdCurrent iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_MAIN, 0);
MacdPrevious iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_MAIN, 1);
SignalCurrent iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_SIGNAL, 0);
SignalPrevious iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_SIGNAL, 1);
MaCurrent = IMA (NULL, 0, MATrendPeriod, 0, MODE_EMA, PRICE_CLOSE, 0);
MaPrevious = IMA (NULL, 0, MATrendPeriod, 0, MODE_EMA, PRICE_CLOSE, 1);
OrdersTotal total = ();
if (total <1)
- OPEN 2 ORDERS MT5
- Why does this trade open?
- why is order executed despite conditions?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register