First Order Ticket is always "2" New comment osterchrisi 2020.05.17 16:50 Why is it that any first order I open always has ticket number "2"? I open my orders with this (relevant) code: #include <Trade\Trade.mqh> CTrade trade; void onTick(){ trade.Sell(lotsize, Pair1, BidPair1, ShortSL, ShortTP, "1S"); trade.Buy(lotsize, Pair1, AskPair1, LongSL, LongtTP, "1B"); } Anyone knows? amando 2020.05.17 20:00 #1 Bcs 1 is the deposit osterchrisi 2020.05.17 20:14 #2 Aha! Makes sense. And there is no ticket #0? New comment
Why is it that any first order I open always has ticket number "2"?
I open my orders with this (relevant) code:
Anyone knows?