clearBands() |
Top Previous Next |
clearBands()
Remove all bands currently drawn on the chart by addBand().
Parameters
Usage
function main() {
... ...
if ( getBarState() = BARSTATE_NEWBAR ) { //clear all band objects that may have been drawn during the //creation of the last bar clearBands();
}
}
|