Symbol Length

From MultiCharts
Jump to: navigation, search

Returns a numerical value indicating the actual number of bars of a data series on chart.




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.


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.