Event that triggers when drawing tool's position has been changed either by dragging it or in code.
Event handler containing 'startX', 'endX', 'upperStartY', 'upperEndY' and 'priceRange' parameters indicating the drawing tool's new position.
Event that triggers when pointer is pressed down on top of the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
-'button' indicates the pressed mouse button.
Event that triggers when pointer is moved onto the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
Event that triggers when pointer is moved away from the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
Event that triggers when pointer is released on top of the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
-'button' indicates the released mouse button.
Updates the drawing tool based on the control points' locations.
Channel's starting X-location.
Channel's ending X-location.
Y-location for the starting point of the first line.
Y-location for the ending point of the first line.
Price value range between the two channel lines.
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 channel lines can be extended to the edge of the chart.