×

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.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

TickID

816 bytes added, 12:16, 29 September 2014
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..."
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 second. For resolutions higher than 1 Tick returns the index of the last tick within the bar.
<br>
'''For time-based charts with resolutions of 1 sec or more:'''
<br>
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.
<syntaxhighlight>value1 = mod(TickID, 2147483648);</syntaxhighlight>

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





[[Category:Data Information/General]]

Navigation menu