×

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
Open main menu

Changes

Symbol Length

841 bytes added, 13:52, 21 November 2012
Created page with "Returns a numerical value indicating the actual number of bars of a data series on chart. ==Usage== <syntaxhighlight>Symbol_Length</syntaxhighlight> ==Notes== If the seri..."
Returns a numerical value indicating the actual number of bars of a data series on chart.

==Usage==

<syntaxhighlight>Symbol_Length</syntaxhighlight>

==Notes==

If the series is not updating in real-time (no new bars appear), the keyword returns the same value on each calculation.
If the chart updates in real-time the keyword returns the number of bars available by the moment script references the keyword. It means that the keyword possibly can return different values even during calculation within the same bar.

Example
<syntaxhighlight>Plot1(Symbol_Length, "Length of series");</syntaxhighlight>
* Plot a value of 500 if the number of bars of data series is 500 and there is no new bars appear,
* Plot a value of 501 if the number of bars of data series becomes 501 because new bar appeared.
[[Category:Data Information/General]]