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

Re: entry on current bar



PureBytes Links

Trading Reference Links

At 07:18 PM 2/11/2006, DH wrote:

>Just to clarify, you can set an indicator to calculate on every new tick
>or to only calculate on the close of the bar. Systems are different.
>They ONLY calculate once at the end of the bar. If you need your system
>to calculate sooner than that, you need to run shorter bars.

This was true up until the latest release of TradeStation.

With the present release, you can now choose to execute strategies on every tick as well. There are also several additional capabilities that make this usable such as IntrabarPersist variables that store changed values on each tick, a BarStatus function to indicate whether a tick the first of the bar, in the middle of the bar, or the last tick of the bar.

An example of how this might be use is a programmed trailing stop where the exit values is some offset from the highest high of the price. You could update the value of the highest high dynamically within the bar.

The capability is very new and not well documented yet. The above is my understanding but since I have never used it, may not be totally correct.

Bob Fulks