Difference between revisions of "Symbol Length"
Jump to navigation
Jump to search
(→Notes) |
|||
Line 12: | Line 12: | ||
Example | Example | ||
<syntaxhighlight>Plot1(Symbol_Length, "Length of series");</syntaxhighlight> | <syntaxhighlight>Plot1(Symbol_Length, "Length of series");</syntaxhighlight> | ||
− | * | + | * Plots a value of 500 if the number of bars of data series is 500 and there is no new bars appear, |
− | * | + | * Plots a value of 501 if the number of bars of data series becomes 501 because new bar appeared. |
[[Category:Data Information/General]] | [[Category:Data Information/General]] |
Latest revision as of 17:45, 21 November 2012
Returns a numerical value indicating the actual number of bars of a data series on chart.
Usage
Symbol_Length
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
Plot1(Symbol_Length, "Length of series");
- Plots a value of 500 if the number of bars of data series is 500 and there is no new bars appear,
- Plots a value of 501 if the number of bars of data series becomes 501 because new bar appeared.