AttachedTo
<< Click to Display Table of Contents >> AttachedTo |
An object which holds information regarding where the drawing tool is attached.
AttachedToType |
An enum representing the type of object the drawing to is attached. Possible values are: •Bars - The chart bars of the parent chart •GlobalInstrument - The bars of an instrument crossed all charts •Indicator - A NinjaScript indicator •Strategy - A NinjaScript strategy |
ChartObject |
A ChartObject interface such an indicator, strategy, chart bars |
DisplayName |
A string value indicating the name of the object the drawing tool is attached |
Instrument |
The Instrument that the drawing tool is attached |
AttachedTo
if (AttachedTo.AttachedToType == AttachedToType.Indicator) |