Pessoal no MT4, a única alteração foi mcdsample 1-2
Ele abriu duas ordens de uma só vez, mas não sei onde alterar MT5
MT4
/ Para simplificar a codificação e acelerar o acesso
/ / Os dados são colocados em variáveis internas
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);
Total de OrdersTotal = ();
if (total <1)
- Please Help
- why is order executed despite conditions?
- Why does this trade open?

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