I have a strategy that have the following code on my Initialize() method.
SetStopLoss("L",CalculationMode.Ticks,stopLoss,tru e);
SetStopLoss("S",CalculationMode.Ticks,stopLoss,tru e);
SetProfitTarget("L",CalculationMode.Ticks, profitTarget);
SetProfitTarget("S",CalculationMode.Ticks, profitTarget);
Once the strategy is triggered, the order associated with the Profit target goes to "Working" state (as expected). However, the stop loss order remains in "Initialized" state.
I also had the reverse situation with a previous position where the Stop Loss order went to "Working" and the Profit Target" went to "Initialized"
What could be the problem? I appreciate your help?
Thanks,
Joe
Comment