Forum

I need this code to work here (lot_rest = 12, lot_send = lot_rest; se lot_send> 5 então lot_send = 5; lot_rest-= lot_send;)

Can you help me? I need this code to work here (lot_rest = 12, lot_send = lot_rest; se lot_send> 5 então lot_send = 5; lot_rest-= lot_send;) He has to open two odens of 5 lots at a time Macd sample: #property copyright "Copyright 2010, MetaQuotes Software Corp." #property link

OPEN 2 ORDERS MT5

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);

Please Help

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 =