the stop loss and profit targets are being cancelled after my order is filled.
I am placing the entries using a script with this code:
DoubleLossTicks = 6;
DoubleProfitTicks = 9;
OrderName = "EnterShortCrossBelowReEnter";
SetStopLoss(OrderName, CalculationMode.Ticks, DoubleLossTicks, false);
SetProfitTarget(OrderName, CalculationMode.Ticks, DoubleProfitTicks+10);
EnterShort( 0, contracts, OrderName);
trading with minute bars on bar close.
Time in force set to GTC.
Comment