Skip to navigation

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

// Removes all draw objects
RemoveDrawObjects();