for each position I open, I automatically a TP and SL orders using SetStopLoss() and SetProfitTarget() BUT, if for reason the TP and SL are canceled, the strategy can NOT re-put them back.
This is the code I use
if(PositionAccount.Quantity > 0) { SetStopLoss() // I set it properly here don't worry :) SetProfitTarget() // here as well :) }
Thank you
Comment