RemoveDrawObjects()

View as Markdown

Definition

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

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

1// Removes all draw objects
2RemoveDrawObjects();