IsUserDrawn

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Drawing Tool >

IsUserDrawn

Previous page Return to chapter overview Next page

Definition
Indicates if the drawing tool was manually drawn by a user as opposed to programmatically drawn by a NinjaScript object (such as an indicator or strategy).

 

Property Value

A bool value which when true if the draw object was manually drawn ; otherwise false. This property is read-only

 

Syntax

IsUserDrawn

 

Examples

ns


if (IsUserDrawn)

{

// do something only if the object was drawn manually

}