Adds Cross Line to the chart. Draws horizontal and vertical lines crossing at the selected point of the chart.
The drawing tool object.
X-value for the cross point.
Y-value for the cross point.
Adds Cycle Lines tool to the chart. Draws vertical lines corresponding to elapsed time periods between the two control points. Can be used to set up and detect intervals and cycles.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds a Date Range measurement tool to the chart, which measures the date range, bar count, and total volume between two points on the chart.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Elliot Wave tool to the chart. Draws a wave pattern between several control points.
The drawing tool object.
Start point X-position.
Start point Y-position.
Second point X-position.
Second point Y-position.
Third point X-position.
Third point Y-position.
Fourth point X-position.
Fourth point Y-position.
Fifth point X-position.
Fifth point Y-position.
Sixth point X-position.
Sixth point Y-position.
Seventh point X-position.
Seventh point Y-position.
Eighth point X-position.
Eighth point Y-position.
Ninth point X-position.
Ninth point Y-position.
Adds an Ellipse to the chart.
The drawing tool object.
Start point X-position. If radius parameters are not supplied, this is where the drawing starts. Otherwise, this is the center X-value of the ellipse.
Start point Y-position. If radius parameters are not supplied, this is where the drawing starts. Otherwise, this is the center Y-value of the ellipse.
Radius of the ellipse in X-direction. When both radius parameters are provided, skips the drawing phase.
Radius of the ellipse in Y-direction. When both radius parameters are provided, skips the drawing phase.
Adds Extended Line tool to the chart. Draws a straight line between two control points, then extends the line to the left and right edges of the chart.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Fibonacci Arc tool to the chart. Draws a trend line between two control points, followed by multiple arcs intersecting the line at levels 38.2%, 50.0%, 61.8% and 100%. The arcs are centered on the second control point.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Fibonacci Extension tool to the chart. Fibonacci Extensions are based on three chosen points on chart: the first two points determine the price move while the third point is the end of retracement against that move. Extension lines using Fibonacci ratios are then drawn based on the price moves.
The drawing tool object.
First point X-position.
First point Y-position.
Second point X-position.
Second point Y-position.
Third point X-position.
Third point X-position.
Adds Fibonacci Fan tool to the chart. Draws a trend line between two control points, then several Fibonacci fan lines starting from the first point and crossing an “invisible” vertical line at the X-value of the second point based on Fibonacci levels at 38.2%, 50.0% and 61.8%.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Fibonacci Retracements tool to the chart. Draws a trend line between two control points, then several horizontal retracement lines based on elected price range(height) of the trendline. The retracement lines are drawn at Fibonacci levels of 38.2%, 50.0% and 61.8%.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Fibonacci Time Zones tool to the chart. Draws vertical lines corresponding to elapsed time periods based on Fibonacci number sequence. Can be used to spot potential price reversal points.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Flat Top/Bottom tool to the chart. Draws a line between two points and another horizontal line above or below it. The area between the lines is then colored.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
The price value of the flat horizontal line.
Adds a Freeform Line to the chart, drawing a line freely on the chart. Pressing pointer down starts drawing while releasing it ends it.
The drawing tool object.
Adds a Gann Box tool to the chart. Draws a box shape with various angle-based lines inside. Control points are placed on the corners of the box, allowing adjusting its size and shape.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Gann Fan tool to the chart. Draws lines with different angles on the chart, dividing time and price into proportional sections. Gann Fan can be used to detect support and resistance levels on the chart.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Head and Shoulders pattern to the chart. Appears as a baseline with three peaks.
The drawing tool object.
Start point X-position.
Start point Y-position.
Left Shoulder point X-position.
Left Shoulder point Y-position.
First Trough point X-position.
First Trough point Y-position.
Head point X-position.
Head point Y-position.
Second Trough point X-position.
Second Trough point Y-position.
Right Shoulder point X-position.
Right Shoulder point Y-position.
End point X-position.
End point Y-position.
Adds Horizontal Line to the chart. Draws a line across the whole chart.
The drawing tool object.
Y-position for the line.
Adds Horizontal Ray to the chart. Draws a straight line from a selected point to the right edge of the chart.
The drawing tool object.
Starting point X-value for the ray.
Y-position for the line.
Adds Linear Regression Channel tool to the chart. Calculates and draws a linear regression line between two control points. Then draws two channel lines, one above and one below the regression line based on the selected channel type.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Parallel Channel tool to the chart. Draws a line between two points and another parallel line above or below it, thus forming a channel. The middle value of the channel is displayed with a dashed line.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
The height of the channel in price values.
Adds Pitchfork tool to the chart. Places three control points on the chart and draws a line from the first point through the midpoint of the other points. Can be used to identify support and resistance levels for a stock's price.
The drawing tool object.
First point X-position.
First point Y-position.
Second point X-position.
Second point Y-position.
Third point X-position.
Third point X-position.
Adds a Price Range measurement tool to the chart, which measures the price change between two points on the chart.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds a Rectangle tool to the chart.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Sine Wave oscillating up and down. Two control points are used to mark the wave top and bottom peaks. Sine waves can be used to identify patterns in a market.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds Trend Line tool to the chart. Draws a straight line between two control points.
The drawing tool object.
Start point X-position.
Start point Y-position.
End point X-position.
End point Y-position.
Adds a Triangle tool to the chart.
The drawing tool object.
First point X-position.
First point Y-position.
Second point X-position.
Second point Y-position.
Third point X-position.
Third point X-position.
Adds Vertical Line to the chart. Draws a line across the whole chart.
The drawing tool object.
X-position for the line. Given as a number.
Adds a XABCD pattern tool to the chart.
The drawing tool object.
Start X-position (X-point)
Start Y-position (X-point)
A-point X-position.
A-point Y-position.
B-point X-position.
B-point Y-position.
C-point X-position.
C-point Y-position.
D-point X-position.
D-point Y-position.
Gets a list of all current drawing tools.
Drawing tools list.
Class to create and maintain Drawing Tools.