In NT7 I'll be manually placing one of the following order configurations:
1. Limit entry
2. Stop entry
3. OCO stop entry and limit entry
I would like to write code that will cancel any and all pending entry orders for the current chart symbol Instrument.Fullname if certain conditions are met. How would I do this?
I see CancelOrder() and ATMStrategyCancelEntryOrder() but if I've placed an entry order or two OCO orders manually, how would I know the order IDs? Is there another way?
Thanks!
Comment