is inside OnBarUpdate() since stopLevelMovel (the variable used to calculate the Percent is defined realtime)
Using TraceOrder = true, I checked that the stop has been ordered each minute. (what I intend to change)
But, my question would be:
1-why the stop order does not change on Interactive brokers (I am trading for real)?
2- Can I setup stop order along with enterShort() and enterLong()only?

Comment