I develop a simple strategy to have an entry based on where I draw a horizontal line. The system automatically send oco stop order and target order (also based on my preset horizontal price lines) once the entry order is filled. Those OCO orders are sent to Interactive Broker servers, but I still can control it by storing order information into variables. However, the issue is that when I change to other instruments or quit Ninjatrader, then come back, those variable storing order information lost, so I cannot control OCO orders any more. So, is there any solution that I can get back those OCO orders information and assign them into Order variable after I quit the software and come back? (I use SubmitOrderUnmanaged)
Thanks.
Comment