Currently the strategy uses the following statements in configure to set stop/targets.
SetStopLoss(CalculationMode.Ticks, StopTicks);
SetProfitTarget(CalculationMode.Ticks, ProfitTicks);
Would I need to use more explicit order management such as the following (in OnExecutionUpdate) so that a position is exited as soon as a price is'touched' when the strategy is running in realtime simulation mode?
_profitOrder = ExitLongLimit(0, true, _posSize, _profit, ProfitLong, EnterLongName);
_stopOrder = ExitLongStopMarket(0, true, _posSize, _stop, StopLong, EnterLongName);
Comment