RemoveDrawObjects()

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Drawing >

RemoveDrawObjects()

Previous page Return to chapter overview Next page

Definition

Removes all draw objects originating from the indicator or strategy from the chart.

 

Note:  This method will ONLY remove DrawObjects which were created by a NinjaScript object.  User drawn objects CANNOT be removed from via NinjaScript

 

 

Method Return Value

This method does not return a value

 

 

Syntax

RemoveDrawObjects()

 

 

Examples

ns

// Removes all draw objects
RemoveDrawObjects();