ChartAnchor
<< Click to Display Table of Contents >> ChartAnchor |
Defines objects used by Drawing Tools which represent a point on the chart where the Drawing Tool is located.
class ChartAnchor
new ChartAnchor() |
Initializes a new instance of the ChartAnchor object |
new ChartAnchor(DateTime time, double price, ChartControl chartControl) |
Initializes a new instance of the ChartAnchor object using time, price, and relative chart control |
new ChartAnchor(DateTime time, double yValue, int currentBar, ChartControl chartControl) |
Initializes a new instance of the ChartAnchor object using time, y-axis coordinates, current bar, and relative chart control |
Copies the ChartAnchor time and price values from on anchor to another |
|
A string value which sets the name prefix used for all properties for a chart anchor |
|
The drawing tool which owns a chart anchor |
|
Gets the current bar value that the chart anchor is drawn by a NinjaScript object. |
|
Returns a chart anchor's data points. |
|
A bool value determining the anchor is visible on the UI. |
|
A bool value determining the anchor is currently being edited |
|
Indicates if the chart anchor was drawn by a NinjaScript object |
|
A bool value determining the X properties are visible on the UI |
|
A bool value determining the Y data value is visible on the UI |
|
Moves a Chart Anchor's x and y values from start point by a delta point amount. |
|
Moves an anchor x values from start point by a delta point amount |
|
Moves an anchor y values from start point by a delta point amount |
|
Determines price value the chart anchor is drawn. |
|
Indicates the nearest bar slot where anchor is drawn. |
|
Determines date/time value the chart anchor is drawn. |
|
Updates an anchor's x and y values from a given point (in device pixels) |
|
Updates an anchor's X values from a given point (in device pixels) |
|
Updates an anchor's Y value from a given point (in device pixels) |
public ChartAnchor MyAnchor { get; set; } // declares the "MyAnchor" ChartAnchor object |