numbars_last
Previous  Next

numbars_last as integer

contains the bar number of the last displayed bar.

For example close(numbars_last) contains the price at the closing of the last displayed bar.