clearBands()

eSignal EFS 2

clearBands()

Top  Previous  Next

 

clearBands()

 

Remove all bands currently drawn on the chart by addBand().

 

Parameters

 

none

function takes no 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();

 

       }

 

}