when doing entries long with entryOrderLd1a=EnterLongLimit(4,true,1,GetCurrentA sk(), "Ld1a"); (and short with entryOrderSd1a=EnterShortLimit(4,true,1,GetCurrent Bid(), "Sd1a")
and having in onexecution
SetStopLoss("Sd1a", CalculationMode.Ticks, sts1, false);
SetStopLoss("Ld1a", CalculationMode.Ticks, stl1, false);
(sts1 and stl1 I set in parameters)
why does appear with the entry the message on screen and in log (not every trade but from time to time)
28.02.2020 11:22:40 | Order | Accountno, Buy order stop price must be above last trade price ExchangeRejectCode = 2061 affected Order: BuyToCover 1 Limit @ 1461,4 |
Tony
Comment