removeLine()

eSignal EFS 2

removeLine()

Top  Previous  Next

 

removeLine( tagID )

 

Remove a specific line object originally drawn by drawLineRelative() or drawLineAbsolute(). The object is identified by its tagID.

 

Parameters

 

tagID

the unique ID of the line object to remove

 

Usage

 

function main() {

 

       ...

       ...

 

       if ( getBarState() == BARSTATE_NEWBAR ) {

 

               //remove a specific line object from the chart. We we originally

               //drew this line object, we gave it a tagID of 201 so that we

               //could identify it later.

               removeLine( 201 );

 

 

       }

 

}