“On-close” orders have not been part of Builder because in the past TS has not supported them properly. It used to be that you needed to stay away from entering on the close in real time because TS executes the strategy code on the close of the bar and would delay the execution of the strategy by one bar if you had an “enter on close” order. They no longer do that, so, at least in back-testing, it works now. However, you still need to be careful because, in real-time, the bar will already be closed by the time the “on close” order is placed. For daily bars, this may mean your order is not filled until the next day’s open. Just for the record, the only “advanced” bar type currently supported in Builder is range bars.
Mike Bryant
--
You received this message because you are subscribed to the Google Groups "Adaptrade Builder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adaptrade-buil...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It primarily means two things: no “exit on session close” order type; and no DayOpen, DayHigh, DayLow or DayClose indicators.
Mike Bryant
--
Live trading results may not match back-tested results as Advanced Bar Types are artificially constructed from historical data in a manner which does not always follow market prices in the same sequence as may occur in real-time. For example, if you copy an Advanced Bar chart with a strategy trading on it in real-time to create another chart, you may notice the strategy entries/exits do not match the original chart. This is because the strategy was trading in real-time on the original chart, but trades on historical bars ( which may be different than the real-time bars ) on the copied chart. The high and low prices observed for an in-progress Advanced Bar when real-time ticks are arriving can be very different than the high and low prices for a historical bar. This is because Advanced Bar Types are based on prices ( filter prices ), and usually end up truncating the actual price range.
Interestingly, I have done a bit of simulation using range bars, and using a range bar with an Exponential Moving Average is very similar to using time based bars with adaptive moving averages.