SetStopLoss(CalculationMode.Ticks, 10);
SetProfitTarget("Entry 1",CalculationMode.Ticks, 5)
SetProfitTarget("Entry 2",CalculationMode.Ticks, 10)
SetProfitTarget("Entry 3",CalculationMode.Ticks, 15)
SetProfitTarget("Entry 4",CalculationMode.Ticks, 20)
EnterLongStop(0, true, 1, 100.05, "Entry 1");
EnterLongStop(0, true, 1, 100.05, "Entry 2");
EnterLongStop(0, true, 1, 100.05, "Entry 3");
EnterLongStop(0, true, 1, 100.05, "Entry 4");
So when this long order triggers at 100.05, I expect there to be one stoploss for 4 contracts at 99.95, and 4 targets at 100.10 for 1, 100.15 for 1, 100.20 for 1 and 100.25 for 1. As each target is hit, I expect the number of stoploss contracts to decrease for each target hit. If all targets are hit, the stoploss order is cancelled. If the stoploss is hit, all remaining target orders are cancelled.
Thanks!
Bryan
Comment