what happens with an IOrder Object, if this Order runs into SL oder TP?
Get this dynamic variable automatically on null?
The Backround is I want so realize 2 things:
1. The Strategy should cancel a submitted Order after one more Bar
2. The Strategy should realize, if an Open Order goes into TP or SL, and set the IOrder Object to null, because I want to Block the Order entering while an Open Order is in the Market
I tried it with the OnOrderUpdate methode, but I can't finde an Order state that saing "Order runed into SL/TP"

Comment