PDA

View Full Version : do ninja trader orders cancel after each bar in trade station


HelloHello
08-28-2007, 07:29 PM
TradeStation Code:

if condition1 then
buy next bar at 100 limit;

say we are trading on 1 minute bars, and condition1 is true meaning a limit order gets placed. At then end of 1 minute trade station cancels this order.


if lastbaronchart and condition1 then
NTBuyLimit(.....);

so after 1 minute if this order is not filled is this order cancelled?

Thanks

NinjaTrader_Dierk
08-29-2007, 12:00 AM
Not it's not cancelled.