Not sure I get that. If the bar contains a wide enough range that allows both a stop and a profit target both to be hit, how does TradeStation decide which has been hit? Seems to me you'd need the higher-rez data.Quote from telozo:
TradeStation, and I assume other software packages too, can be set up to look inside a bar, to decide if an order placed on the previous bar has been hit.
Quote from chanelops:
Not sure I get that. If the bar contains a wide enough range that allows both a stop and a profit target both to be hit, how does TradeStation decide which has been hit? Seems to me you'd need the higher-rez data.
Quote from intradaybill:
Also, if you are backtesting using you own code, make sure you do not fall victim of the flaws discussed in this paper.
Quote from chanelops:
Not sure I get that. If the bar contains a wide enough range that allows both a stop and a profit target both to be hit, how does TradeStation decide which has been hit? Seems to me you'd need the higher-rez data.
That sounds pretty neat, actually. Does it work as well in practice as it sounds like it should? For example, does TS have 1-minute data from say 10 years ago available for this type of lookup?Quote from telozo:
It works like this:
you set up a daily bar chart and add a strategy. In the properties of the strategy there is an option for intra-bar lookup. When you set it, you also specify the intra-day interval, in minutes. Let's say you pick 1 minute.
When the strategy generates one or more orders for the next bar, and the range of the next bar includes the price of an order, tradestation will automatically load the 1 minute bar data for that particular bar, and check which order is hit using the 1 minute bars, practically giving you a 1 minute resolution.