[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem of executing orders on next bar



PureBytes Links

Trading Reference Links

> I know there is a way around this problem...
> 
> TradeStation seems to allow you only to execute orders at the next
> bar or the current bar on close? I would like to execute a market
> order on the very tick that my strategy says that it is a good
> trade. 

You are correct:  your system code runs ONLY when the bar closes -- 
NOT at any time while the bar is forming.  The only way to execute 
strategy logic on a specific tick is to run the *system* on every 
tick, and the only way to do that is to run the system on a 1-tick 
chart.

If, in advance, you know a *price* where you want to buy/sell/exit, 
you can place a *price* stop on bar N that takes effect on bar N+1.  
That order will be executed on the exact tick that hits your 
specified price.

But if you need to examine every tick -- or every 1min bar, or 
whatever -- to decide if your strategy says it's a good trade, then 
you have to run your system on bars of that size.

Gary