×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

TickID - MultiCharts
Open main menu

TickID

Revision as of 12:16, 29 September 2014 by Henry Multicharts (talk | contribs) (Created page with "This keyword can be used to distinguish between the bars with the same date and time stamps. '''For tick and volume-based charts:''' <br> Returns the tick index within a sec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 TickID value without realtime identifier one needs to calculate the remainder from TickID value division by 2147483648.

value1 = mod(TickID, 2147483648);

Note

The range of returned values is limited by the MaxBarsBack setting.