1. How could I get the current pending orders? The code examples showed that the entry methods return the instance of the order to a local variable. This could work fine during the session. But if the system crashed and I have to restart the strategy, those local variables would be initialized to null while there might be pending limit/stop orders. The way to keep synchronized is to initialize those variables to be the current pending orders. But I couldn't find anything in the help doc.
2. Also related to system crashing. How to automatically start strategies when NT starts up? I could put NT in the startup fold so it gets launched when the system is started, but still have to manually start the strategies.
3. In MT4 and MBT, the tick price contains both Ask&Bid. So one tick means a pair of two. But in NT, if I implement the OnMarketData method to get the tick price, the Ask and Bid were sent separately which caused two ticks. I could store the previous Ask or Bid then still keep feeding my strategy a pair. My question is whether this means my strategy would get double or at least more ticks than MT4 and MBT. Since the number of ticks is very important to my strategy, I have to make it clear. This is actually a question about how the NT maps the tick feeding with both Ask&Bid to it's OnMarketData method. Besides, anyone know what's the "Last" price is in OnMarketData?
Thanks for help!

Comment