isLastBarOnChart() |
Top Previous Next |
isLastBarOnChart()
Returns true if the bar currently being processed is the last bar on the chart.
Parameters
Usage
function main() {
... ...
if ( isLastBarOnChart() == true ) {
//we are currently on the last bar in the chart so //we can perform some action here
}
}
|