what does the log say?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi all,
When I make 2 (ordersend) after eatch other, the second order return -1
I put a while around the second order, but stil, many -1 results,
but as soon as I recompile the order get sendt, and no problem!
while (ticket2 < 0){
ticket2=OrderSend(Symbol(),OP_SELL,0.05,Bid,5,Ask+25000*Point,Ask-10000*Point,"My order #5",16384,0,Red);
Sleep(3000);
Print("Trade ",ticket2);
}
Thanks in advance
Crunchy