SetStopLoss(CalculationMode.Ticks, shortStopLoss);
SetProfitTarget(CalculationMode.Ticks, shortTakeProfit);
EnterLong(DefaultQuantity, "Long");
When running with a real data feed under Sim101 the chart indicates a Profit Target at the right value but the Control Center -> Positions tab continues to list the same currency as an open position and the PnL value continues to change.
On the other hand, the Control Panel -> Strategies tab indicates that the strategy continues to be running (as expected), but no longer showing a "unrealized" profit and no new BuyToCover order has been given.
I would expect the open position in the Positions tab to have been closed when the profit target was reached.
Can you help me understand why that is not so?
Thanks again.
Comment