I have error messages when placing a sellstoplimit. Example here: price YM was 26754 when I wanted to place the sellstoplimit. And in the attached message it shows 26747 x 26749 which is correct from my code "entryOrderSbo1a=EnterShortStopLimit(0,true,1,shor tlinevalue, shortlinevalue-2*TickSize, "Sbo1a");" (shortlinevalue is the red dashed line with value 26749.)
Why appears an error message with "limit price cant be greater than stop price" please?
Maybe I have not fully understood the sellstop and buyorder logic for coding, sorry if so, and thank you for showing me.
Thank you!
Tony
Comment