I have discovered that using SetProfitTarget and SetStopLoss functions in a strategy only work in real time. Is there a way to perform backtesting for stops and targets?