tmStrategyCreate(Action.Buy,OrderType.StopLimit,Op en[0]+ 1* TickSize, Open[0] + 1 * TickSize, TimeInForce.Day, OrderId,"BahramBreakout", atmOrderId)
The order is place and i can see it.
When I try to cancel the order with the following:
lastRedOrderId = OrderId;
atmlastRedOrderId = atmOrderId;
AtmStrategyCancelEntryOrder("lastRedOrderId");
AtmStrategyCancelEntryOrder("atmlastRedOrderId");
But, the order never gets canceled.
ANy idea's?
Comment