PDA

View Full Version : Format for NTOrderStatus


hmmerritt
08-08-2006, 06:38 AM
I am having difficulty getting any output from the NTOrderStatus command. I'm using Esignal and am using a strategy that uses 2 contracts with 2 Stops and 2 Targets. I am trying to obtain the Order Status of Stop1 or Stop2.

I am using NTOrderStatus("Stop1"), hoping to obtain a valid order status. Is this nomenclature correct?

Thanks in advance.

NinjaTrader_Ray
08-08-2006, 06:53 AM
This will not work. NTOrderStatus() will only work for orders where you have provided a user defined orderId. Since you are using NT strategies, the status of the orders are not available.

Ray