Symbol TickID

From MultiCharts
Jump to: navigation, search

This keyword can be used to distinguish between the bars with the same date and time stamps. For tick and volume-based charts returns the tick index within a second. For resolutions higher than 1 Tick returns the index of the last tick within the bar.

For time-based charts with resolutions of 1 sec or more not supported. Returns 0.

Realtime ticks stored in the data base are being assigned the last 31 bit - the identifier of realtime affiliation. In order to get the Symbol_TickID value without realtime identifier one needs to calculate the remainder from Symbol_TickID value division by 2147483648.

value1=Mod(Symbol_TickID, 2147483648);

Usage

Symbol_TickID

Note

The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series.

Example

Plots the tick index (TickID) of the last tick within the current bar:

Plot1(Symbol_TickID,"SymTickID");