DrawingTool

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DrawingTool

Return to chapter overview

Definition

The DrawingTool object which owns a chart anchor.

 

Property Value

A IDrawingTool object representing the owner of the chart anchor

 

Syntax

<ChartAnchor>.DrawingTool

 

Examples

ns

protected override void OnStateChange()
{
    if (State == State.SetDefaults)

    {  

Name = "SampleDrawingTool";      

MyAnchor = new ChartAnchor();

MyAnchor.DrawingTool = this; //NinjaTrader.NinjaScript.DrawingTools.SampleDrawingTool

    }

    else if (State == State.Configure)

    {

 

    }
}