PDA

View Full Version : Using Limit Order and Cancellation


jthom
06-09-2010, 09:53 AM
Is it possible when using an ATM Limit order method to use a cancellation of the order, say when the price moves away 2 ticks from Limit order in a strategy.
Note I need to have Calculate on Bar close = true.

Is it possible to do this via the
GetAtmStrategyEntryOrderStatus command?



Thanks

NinjaTrader_Tim
06-09-2010, 11:02 AM
Hi jthom,

For this, you can use..

AtmStrategyCancelEntryOrder()

More info at - http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?GetAsmStrategyEntryOrderStatus

Which should be used with CalculateOnBarClose=false, for your condition, so you will need to separate the logic to include CaclulateOnBarClose=false in some areas and true in others.
More info at - http://www.ninjatrader.com/support/forum/showthread.php?t=19387