In my startegy first I defined IOrder entryOrder, then entryOrder=EnterShort(), then I set the stoploss with SetStopLoss.
It works. My question is: When the position closed (because the price equals the stoploss), is the entryOrder set to null automatically, or I have to detect the closing of the position, and set the entryOrder to null.
Kind regards
Akos

Comment