ChartArea¶
Summary¶
The Chart Area Interface.
Signature
1 |
|
Namespace¶
cAlgo.API
Methods¶
AddControl (6)¶
AddControl (1 of 6)
Summary
Adds a chart control from the Control Base to the main chart area or to the indicator area.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
Return Value
void
Related Tutorials
AddControl (2 of 6)
Summary
Adds a chart control to chart / indicator area on absolute bar index and price (x,y) coordinates.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
barIndex | int | Bar Index |
y | double | Price |
Return Value
void
Related Tutorials
AddControl (3 of 6)
Summary
Adds a chart control to chart / indicator area on absolute time and price (x,y) coordinates.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
time | DateTime | Time |
y | double | Price |
Return Value
void
Related Tutorials
AddControl (4 of 6)
Summary
Adds a chart control to chart / indicator area on absolute time (x) coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
time | DateTime | Time |
Return Value
void
Related Tutorials
AddControl (5 of 6)
Summary
Adds a chart control to chart / indicator area on absolute bar index (x) coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
barIndex | int | Bar Index |
Return Value
void
Related Tutorials
AddControl (6 of 6)
Summary
Adds a chart control to chart / indicator area on absolute price (y) coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
y | double | Price |
Return Value
void
Related Tutorials
RemoveControl¶
Summary
Remove a chart control from the chart area.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | An existing control that will be removed |
Return Value
void
Related Tutorials
MoveControl (5)¶
MoveControl (1 of 5)
Summary
Moves a chart control to chart / indicator area on absolute bar index and price (x,y) coordinates.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
barIndex | int | Bar Index |
y | double | Price |
Return Value
void
MoveControl (2 of 5)
Summary
Moves a chart control to chart / indicator area on absolute time and price (x,y) coordinates.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
time | DateTime | Time |
y | double | Price |
Return Value
void
MoveControl (3 of 5)
Summary
Moves a chart control to chart / indicator area on absolute time (x) coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
time | DateTime | Time |
Return Value
void
MoveControl (4 of 5)
Summary
Moves a chart control to chart / indicator area on absolute bar index (x) coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
barIndex | int | Bar Index |
Return Value
void
MoveControl (5 of 5)
Summary
Moves a chart control to chart / indicator area on absolute price (y) coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
control | ControlBase | The control that will be added |
y | double | Price |
Return Value
void
SetYRange¶
Summary
Sets the Y-axis lowest and highest values range. Allows scrolling the chart by the Y-axis. If only one of thevalues is set, then the chart will be expanded regarding the lowest or highest value respectively.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
bottomY | double | The lowest visible Y-axis value. |
topY | double | The highest visible Y-axis value. |
Return Value
void
FindAllObjects (2)¶
FindAllObjects (1 of 2)
Summary
Finds all the chart objects of the specified type.
Signature
1 |
|
Return Value
T[]
FindAllObjects (2 of 2)
Summary
Finds all the chart objects of the specified type.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
objectType | ChartObjectType | Type of the object. |
Return Value
ChartObject[]
FindObject¶
Summary
Finds the chart object of the specified name.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
objectName | string | The name of the object. |
Return Value
ChartObject
Examples
1 2 3 4 5 |
|
RemoveObject¶
Summary
Removes the chart object of the specified name.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
objectName | string | The name of the object. |
Return Value
void
RemoveAllObjects¶
Summary
Removes all interactive and non-interactive objects available for the cBot or Indicator.
Signature
1 |
|
Return Value
void
DrawHorizontalLine (3)¶
DrawHorizontalLine (1 of 3)
Summary
Draws a horizontal line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once on a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
y | double | The Y-axis value of the line location. |
color | Color | The line color. |
Return Value
ChartHorizontalLine
Related Tutorials
DrawHorizontalLine (2 of 3)
Summary
Draws a horizontal line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
y | double | The Y-axis value of the line location. |
color | Color | The line color. |
thickness | int | The line thickness. |
Return Value
ChartHorizontalLine
Related Tutorials
DrawHorizontalLine (3 of 3)
Summary
Draws a horizontal line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
y | double | The Y-axis value of the line location. |
color | Color | The line color. |
thickness | int | The line thickness. |
lineStyle | LineStyle | The line style. |
Return Value
ChartHorizontalLine
Related Tutorials
DrawVerticalLine (6)¶
DrawVerticalLine (1 of 6)
Summary
Draws a vertical line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time | DateTime | The time value on the X-axis. |
color | Color | The line color. |
Return Value
ChartVerticalLine
Related Tutorials
DrawVerticalLine (2 of 6)
Summary
Draws a vertical line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time | DateTime | The time value of the line location on the X-axis. |
color | Color | The line color. |
thickness | int | The line thickness. |
Return Value
ChartVerticalLine
Related Tutorials
DrawVerticalLine (3 of 6)
Summary
Draws a vertical line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time | DateTime | The time value of the line location on the X-axis. |
color | Color | The line color. |
thickness | int | The line thickness. |
lineStyle | LineStyle | The line style. |
Return Value
ChartVerticalLine
Related Tutorials
DrawVerticalLine (4 of 6)
Summary
Draws a vertical line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex | int | The bar index of the line location on the X-axis. |
color | Color | The line color. |
Return Value
ChartVerticalLine
Related Tutorials
DrawVerticalLine (5 of 6)
Summary
Draws a vertical line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex | int | The bar index of the line location on the X-axis. |
color | Color | The line color. |
thickness | int | The line thickness. |
Return Value
ChartVerticalLine
Related Tutorials
DrawVerticalLine (6 of 6)
Summary
Draws a vertical line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex | int | The bar index of the line location on the X-axis. |
color | Color | The line color. |
thickness | int | The line thickness. |
lineStyle | LineStyle | The line style. |
Return Value
ChartVerticalLine
Related Tutorials
DrawTrendLine (6)¶
DrawTrendLine (1 of 6)
Summary
Draws a trend line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
time2 | DateTime | The time value of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
Return Value
ChartTrendLine
Related Tutorials
DrawTrendLine (2 of 6)
Summary
Draws a trend line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
time2 | DateTime | The time value of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
Return Value
ChartTrendLine
Related Tutorials
DrawTrendLine (3 of 6)
Summary
Draws a trend line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
time2 | DateTime | The time value of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
lineStyle | LineStyle | The trend line style. |
Return Value
ChartTrendLine
Related Tutorials
DrawTrendLine (4 of 6)
Summary
Draws a trend line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
barIndex2 | int | The bar index of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
Return Value
ChartTrendLine
Related Tutorials
DrawTrendLine (5 of 6)
Summary
Draws a trend line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
barIndex2 | int | The bar index of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
Return Value
ChartTrendLine
Related Tutorials
DrawTrendLine (6 of 6)
Summary
Draws a trend line.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
barIndex2 | int | The bar index of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
lineStyle | LineStyle | The trend line style. |
Return Value
ChartTrendLine
Related Tutorials
DrawEquidistantChannel (6)¶
DrawEquidistantChannel (1 of 6)
Summary
Draws an equidistant channel.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the equidistant channel start point location on the X-axis. |
y1 | double | The Y-axis value of the equidistant channel start location. |
time2 | DateTime | The time value of the equidistant channel end point location on the X-axis. |
y2 | double | The Y-axis value of the equidistant channel end location. |
channelHeight | double | The equidistant channel hight in pips. |
color | Color | The color of the equidistant channel lines. |
Return Value
ChartEquidistantChannel
Related Tutorials
DrawEquidistantChannel (2 of 6)
Summary
Draws an equidistant channel.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the equidistant channel start point location on the X-axis. |
y1 | double | The Y-axis value of the equidistant channel start location. |
time2 | DateTime | The time value of the equidistant channel end point location on the X-axis. |
y2 | double | The Y-axis value of the equidistant channel end location. |
channelHeight | double | The equidistant channel hight in pips. |
color | Color | The color of the equidistant channel lines. |
thickness | int | The thickness of the equidistant channel lines. |
Return Value
ChartEquidistantChannel
Related Tutorials
DrawEquidistantChannel (3 of 6)
Summary
Draws an equidistant channel.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the equidistant channel start point location on the X-axis. |
y1 | double | The Y-axis value of the equidistant channel start location. |
time2 | DateTime | The time value of the equidistant channel end point location on the X-axis. |
y2 | double | The Y-axis value of the equidistant channel end location. |
channelHeight | double | The equidistant channel hight in pips. |
color | Color | The color of the equidistant channel lines. |
thickness | int | The thickness of the equidistant channel lines. |
lineStyle | LineStyle | The equidistant channel lines style. |
Return Value
ChartEquidistantChannel
Related Tutorials
DrawEquidistantChannel (4 of 6)
Summary
Draws an equidistant channel.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the equidistant channel start point location on the X-axis. |
y1 | double | The Y-axis value of the equidistant channel start location. |
barIndex2 | int | The bar index of the equidistant channel end point location on the X-axis. |
y2 | double | The Y-axis value of the equidistant channel end location. |
channelHeight | double | The equidistant channel hight in pips. |
color | Color | The color of the equidistant channel lines. |
Return Value
ChartEquidistantChannel
Related Tutorials
DrawEquidistantChannel (5 of 6)
Summary
Draws an equidistant channel.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the equidistant channel start point location on the X-axis. |
y1 | double | The Y-axis value of the equidistant channel start location. |
barIndex2 | int | The bar index of the equidistant channel end point location on the X-axis. |
y2 | double | The Y-axis value of the equidistant channel end location. |
channelHeight | double | The equidistant channel hight in pips. |
color | Color | The color of the equidistant channel lines. |
thickness | int | The thickness of the equidistant channel lines. |
Return Value
ChartEquidistantChannel
Related Tutorials
DrawEquidistantChannel (6 of 6)
Summary
Draws an equidistant channel.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the equidistant channel start point location on the X-axis. |
y1 | double | The Y-axis value of the equidistant channel start location. |
barIndex2 | int | The bar index of the equidistant channel end point location on the X-axis. |
y2 | double | The Y-axis value of the equidistant channel end location. |
channelHeight | double | The equidistant channel hight in pips. |
color | Color | The color of the equidistant channel lines. |
thickness | int | The thickness of the equidistant channel lines. |
lineStyle | LineStyle | The equidistant channel lines style. |
Return Value
ChartEquidistantChannel
Related Tutorials
DrawText (2)¶
DrawText (1 of 2)
Summary
Draws the text.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
text | string | The text content. |
time | DateTime | The time value of the text object location on the X-axis. |
y | double | The Y-axis value of the text object location. |
color | Color | The color of the text. |
Return Value
ChartText
Examples
1 2 3 4 5 6 |
|
Related Tutorials
DrawText (2 of 2)
Summary
Draws the text.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
text | string | The text content. |
barIndex | int | The bar index of the text object location on the X-axis. |
y | double | The Y-axis value of the text object location. |
color | Color | The color of the text. |
Return Value
ChartText
Related Tutorials
DrawStaticText¶
Summary
Draws the static text.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
text | string | The text content. |
verticalAlignment | VerticalAlignment | The vertical alignment. |
horizontalAlignment | HorizontalAlignment | The horizontal alignment. |
color | Color | The color of the text. |
Return Value
ChartStaticText
Related Tutorials
DrawIcon (2)¶
DrawIcon (1 of 2)
Summary
Draws an icon.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
iconType | ChartIconType | The type of the icon. |
time | DateTime | The time value of the icon location on the X-axis. |
y | double | The Y-axis value of the icon location. |
color | Color | The color of the icon. |
Return Value
ChartIcon
Related Tutorials
DrawIcon (2 of 2)
Summary
Draws an icon.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
iconType | ChartIconType | Type of the icon. |
barIndex | int | The bar index of the icon location on the X-axis. |
y | double | The Y-axis value of the icon location. |
color | Color | The color of the icon. |
Return Value
ChartIcon
Examples
1 |
|
Related Tutorials
DrawFibonacciRetracement (6)¶
DrawFibonacciRetracement (1 of 6)
Summary
Draws a Fibonacci retracement.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci retracement start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci retracement start point location. |
time2 | DateTime | The time value of the Fibonacci retracement end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci retracement end point location. |
color | Color | The Fibonacci retracement lines color. |
Return Value
ChartFibonacciRetracement
Related Tutorials
DrawFibonacciRetracement (2 of 6)
Summary
Draws a Fibonacci retracement.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci retracement start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci retracement start point location. |
time2 | DateTime | The time value of the Fibonacci retracement end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci retracement end point location. |
color | Color | The Fibonacci retracement lines color. |
thickness | int | The Fibonacci retracement lines thickness. |
Return Value
ChartFibonacciRetracement
Related Tutorials
DrawFibonacciRetracement (3 of 6)
Summary
Draws a Fibonacci retracement.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci retracement start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci retracement start point location. |
time2 | DateTime | The time value of the Fibonacci retracement end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci retracement end point location. |
color | Color | The Fibonacci retracement lines color. |
thickness | int | The Fibonacci retracement lines thickness. |
lineStyle | LineStyle | The Fibonacci retracement lines style. |
Return Value
ChartFibonacciRetracement
Related Tutorials
DrawFibonacciRetracement (4 of 6)
Summary
Draws a Fibonacci retracement.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci retracement start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci retracement start point location. |
barIndex2 | int | The bar index of the Fibonacci retracement end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci retracement end point location. |
color | Color | The Fibonacci retracement lines color. |
Return Value
ChartFibonacciRetracement
Related Tutorials
DrawFibonacciRetracement (5 of 6)
Summary
Draws a Fibonacci retracement.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci retracement start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci retracement start point location. |
barIndex2 | int | The bar index of the Fibonacci retracement end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci retracement end point location. |
color | Color | The Fibonacci retracement lines color. |
thickness | int | The Fibonacci retracement lines thickness. |
Return Value
ChartFibonacciRetracement
Related Tutorials
DrawFibonacciRetracement (6 of 6)
Summary
Draws a Fibonacci retracement.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci retracement start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci retracement start point location. |
barIndex2 | int | The bar index of the Fibonacci retracement end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci retracement end point location. |
color | Color | The Fibonacci retracement lines color. |
thickness | int | The Fibonacci retracement lines thickness. |
lineStyle | LineStyle | The Fibonacci retracement lines style. |
Return Value
ChartFibonacciRetracement
Related Tutorials
DrawFibonacciExpansion (6)¶
DrawFibonacciExpansion (1 of 6)
Summary
Draws a Fibonacci expansion.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci expansion start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci expansion start point location. |
time2 | DateTime | The time value of the Fibonacci expansion central point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci expansion central point location. |
time3 | DateTime | The time value of the Fibonacci expansion end point location on the X-axis. |
y3 | double | The Y-axis value of the Fibonacci expansion end point location. |
color | Color | The Fibonacci expansion lines color. |
Return Value
ChartFibonacciExpansion
Related Tutorials
DrawFibonacciExpansion (2 of 6)
Summary
Draws a Fibonacci expansion.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci expansion start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci expansion start point location. |
time2 | DateTime | The time value of the Fibonacci expansion central point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci expansion central point location. |
time3 | DateTime | The time value of the Fibonacci expansion end point location on the X-axis. |
y3 | double | The Y-axis value of the Fibonacci expansion end point location. |
color | Color | The Fibonacci expansion lines color. |
thickness | int | The Fibonacci expansion lines thickness. |
Return Value
ChartFibonacciExpansion
Related Tutorials
DrawFibonacciExpansion (3 of 6)
Summary
Draws a Fibonacci expansion.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci expansion start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci expansion start point location. |
time2 | DateTime | The time value of the Fibonacci expansion central point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci expansion central point location. |
time3 | DateTime | The time value of the Fibonacci expansion end point location on the X-axis. |
y3 | double | The Y-axis value of the Fibonacci expansion end point location. |
color | Color | The Fibonacci expansion lines color. |
thickness | int | The Fibonacci expansion lines thickness. |
lineStyle | LineStyle | The Fibonacci expansion lines style. |
Return Value
ChartFibonacciExpansion
Related Tutorials
DrawFibonacciExpansion (4 of 6)
Summary
Draws a Fibonacci expansion.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci expansion start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci expansion start point location. |
barIndex2 | int | The bar index of the Fibonacci expansion central point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci expansion central point location. |
barIndex3 | int | The bar index of the Fibonacci expansion end point location on the X-axis. |
y3 | double | The Y-axis value of the Fibonacci expansion end point location. |
color | Color | The Fibonacci expansion lines color. |
Return Value
ChartFibonacciExpansion
Related Tutorials
DrawFibonacciExpansion (5 of 6)
Summary
Draws a Fibonacci expansion.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci expansion start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci expansion start point location. |
barIndex2 | int | The bar index of the Fibonacci expansion central point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci expansion central point location. |
barIndex3 | int | The bar index of the Fibonacci expansion end point location on the X-axis. |
y3 | double | The Y-axis value of the Fibonacci expansion end point location. |
color | Color | The Fibonacci expansion lines color. |
thickness | int | The Fibonacci expansion lines thickness. |
Return Value
ChartFibonacciExpansion
Related Tutorials
DrawFibonacciExpansion (6 of 6)
Summary
Draws a Fibonacci expansion.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci expansion start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci expansion start point location. |
barIndex2 | int | The bar index of the Fibonacci expansion central point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci expansion central point location. |
barIndex3 | int | The bar index of the Fibonacci expansion end point location on the X-axis. |
y3 | double | The Y-axis value of the Fibonacci expansion end point location. |
color | Color | The Fibonacci expansion lines color. |
thickness | int | The Fibonacci expansion lines thickness. |
lineStyle | LineStyle | The Fibonacci expansion lines style. |
Return Value
ChartFibonacciExpansion
Related Tutorials
DrawFibonacciFan (6)¶
DrawFibonacciFan (1 of 6)
Summary
Draws a Fibonacci fan.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci fan start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci fan start point location. |
time2 | DateTime | The time value of the Fibonacci fan end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci fan end point location. |
color | Color | The Fibonacci fan lines color. |
Return Value
ChartFibonacciFan
Related Tutorials
DrawFibonacciFan (2 of 6)
Summary
Draws a Fibonacci fan.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci fan start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci fan start point location. |
time2 | DateTime | The time value of the Fibonacci fan end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci fan end point location. |
color | Color | The Fibonacci fan lines color. |
thickness | int | The Fibonacci fan lines thickness. |
Return Value
ChartFibonacciFan
Related Tutorials
DrawFibonacciFan (3 of 6)
Summary
Draws a Fibonacci fan.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci fan start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci fan start point location. |
time2 | DateTime | The time value of the Fibonacci fan end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci fan end point location. |
color | Color | The Fibonacci fan lines color. |
thickness | int | The Fibonacci fan lines thickness. |
lineStyle | LineStyle | The Fibonacci fan lines style. |
Return Value
ChartFibonacciFan
Related Tutorials
DrawFibonacciFan (4 of 6)
Summary
Draws a Fibonacci fan.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci fan start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci fan start point location. |
barIndex2 | int | The Y-axis value of the Fibonacci fan end point location. |
y2 | double | The Y-axis value of the Fibonacci fan end point location. |
color | Color | The Fibonacci fan lines color. |
Return Value
ChartFibonacciFan
Related Tutorials
DrawFibonacciFan (5 of 6)
Summary
Draws a Fibonacci fan.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci fan start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci fan start point location. |
barIndex2 | int | The Y-axis value of the Fibonacci fan end point location. |
y2 | double | The Y-axis value of the Fibonacci fan end point location. |
color | Color | The Fibonacci fan lines color. |
thickness | int | The Fibonacci fan lines thickness. |
Return Value
ChartFibonacciFan
Related Tutorials
DrawFibonacciFan (6 of 6)
Summary
Draws a Fibonacci fan.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci fan start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci fan start point location. |
barIndex2 | int | The Y-axis value of the Fibonacci fan end point location. |
y2 | double | The Y-axis value of the Fibonacci fan end point location. |
color | Color | The Fibonacci fan lines color. |
thickness | int | The Fibonacci fan lines thickness. |
lineStyle | LineStyle | The Fibonacci fan lines style. |
Return Value
ChartFibonacciFan
Related Tutorials
DrawFibonacciTimezones (6)¶
DrawFibonacciTimezones (1 of 6)
Summary
Draws a Fibonacci timezones.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci timezones start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci timezones start point location. |
time2 | DateTime | The time value of the Fibonacci timezones end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci timezones end point location. |
color | Color | The Fibonacci timezones lines color. |
Return Value
ChartFibonacciTimezones
Related Tutorials
DrawFibonacciTimezones (2 of 6)
Summary
Draws a Fibonacci timezones.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci timezones start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci timezones start point location. |
time2 | DateTime | The time value of the Fibonacci timezones end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci timezones end point location. |
color | Color | The Fibonacci timezones lines color. |
thickness | int | The Fibonacci timezones lines thickness. |
Return Value
ChartFibonacciTimezones
Related Tutorials
DrawFibonacciTimezones (3 of 6)
Summary
Draws a Fibonacci timezones.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Fibonacci timezones start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci timezones start point location. |
time2 | DateTime | The time value of the Fibonacci timezones end point location on the X-axis. |
y2 | double | The Y-axis value of the Fibonacci timezones end point location. |
color | Color | The Fibonacci timezones lines color. |
thickness | int | The Fibonacci timezones lines thickness. |
lineStyle | LineStyle | The Fibonacci timezones lines style. |
Return Value
ChartFibonacciTimezones
Related Tutorials
DrawFibonacciTimezones (4 of 6)
Summary
Draws a Fibonacci timezones.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci timezones start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci timezones start point location. |
barIndex2 | int | The Y-axis value of the Fibonacci timezones end point location. |
y2 | double | The Y-axis value of the Fibonacci timezones end point location. |
color | Color | The Fibonacci timezones lines color. |
Return Value
ChartFibonacciTimezones
Related Tutorials
DrawFibonacciTimezones (5 of 6)
Summary
Draws a Fibonacci timezones.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci timezones start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci timezones start point location. |
barIndex2 | int | The Y-axis value of the Fibonacci timezones end point location. |
y2 | double | The Y-axis value of the Fibonacci timezones end point location. |
color | Color | The Fibonacci timezones lines color. |
thickness | int | The Fibonacci timezones lines thickness. |
Return Value
ChartFibonacciTimezones
Related Tutorials
DrawFibonacciTimezones (6 of 6)
Summary
Draws a Fibonacci timezones.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Fibonacci timezones start point location on the X-axis. |
y1 | double | The Y-axis value of the Fibonacci timezones start point location. |
barIndex2 | int | The Y-axis value of the Fibonacci timezones end point location. |
y2 | double | The Y-axis value of the Fibonacci timezones end point location. |
color | Color | The Fibonacci timezones lines color. |
thickness | int | The Fibonacci timezones lines thickness. |
lineStyle | LineStyle | The Fibonacci timezones lines style. |
Return Value
ChartFibonacciTimezones
Related Tutorials
DrawAndrewsPitchfork (6)¶
DrawAndrewsPitchfork (1 of 6)
Summary
Draws an Andrew's pitchfork.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Andrew's pitchfork point 1 location on the X-axis. |
y1 | double | The Y-axis value of the Andrew's pitchfork point 1 location. |
time2 | DateTime | The time value of the Andrew's pitchfork point 2 location on the X-axis. |
y2 | double | The Y-axis value of the Andrew's pitchfork point 2 location. |
time3 | DateTime | The time value of the Andrew's pitchfork point 3 location on the X-axis. |
y3 | double | The Y-axis value of the Andrew's pitchfork point 3 location. |
color | Color | The Andrew's pitchfork lines color. |
Return Value
ChartAndrewsPitchfork
Related Tutorials
DrawAndrewsPitchfork (2 of 6)
Summary
Draws an Andrew's pitchfork.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Andrew's pitchfork point 1 location on the X-axis. |
y1 | double | The Y-axis value of the Andrew's pitchfork point 1 location. |
time2 | DateTime | The time value of the Andrew's pitchfork point 2 location on the X-axis. |
y2 | double | The Y-axis value of the Andrew's pitchfork point 2 location. |
time3 | DateTime | The time value of the Andrew's pitchfork point 3 location on the X-axis. |
y3 | double | The Y-axis value of the Andrew's pitchfork point 3 location. |
color | Color | The Andrew's pitchfork lines color. |
thickness | int | The Andrew's pitchfork lines thickness. |
Return Value
ChartAndrewsPitchfork
Related Tutorials
DrawAndrewsPitchfork (3 of 6)
Summary
Draws an Andrew's pitchfork.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the Andrew's pitchfork point 1 location on the X-axis. |
y1 | double | The Y-axis value of the Andrew's pitchfork point 1 location. |
time2 | DateTime | The time value of the Andrew's pitchfork point 2 location on the X-axis. |
y2 | double | The Y-axis value of the Andrew's pitchfork point 2 location. |
time3 | DateTime | The time value of the Andrew's pitchfork point 3 location on the X-axis. |
y3 | double | The Y-axis value of the Andrew's pitchfork point 3 location. |
color | Color | The Andrew's pitchfork lines color. |
thickness | int | The Andrew's pitchfork lines thickness. |
lineStyle | LineStyle | The Andrew's pitchfork lines style. |
Return Value
ChartAndrewsPitchfork
Related Tutorials
DrawAndrewsPitchfork (4 of 6)
Summary
Draws an Andrew's pitchfork.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Andrew's pitchfork point 1 location on the X-axis. |
y1 | double | The Y-axis value of the Andrew's pitchfork point 1 location. |
barIndex2 | int | The bar index of the Andrew's pitchfork point 2 location on the X-axis. |
y2 | double | The Y-axis value of the Andrew's pitchfork point 2 location. |
barIndex3 | int | The bar index of the Andrew's pitchfork point 3 location on the X-axis. |
y3 | double | The Y-axis value of the Andrew's pitchfork point 3 location. |
color | Color | The Andrew's pitchfork lines color. |
Return Value
ChartAndrewsPitchfork
Related Tutorials
DrawAndrewsPitchfork (5 of 6)
Summary
Draws an Andrews pitchfork.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Andrew's pitchfork point 1 location on the X-axis. |
y1 | double | The Y-axis value of the Andrew's pitchfork point 1 location. |
barIndex2 | int | The bar index of the Andrew's pitchfork point 2 location on the X-axis. |
y2 | double | The Y-axis value of the Andrew's pitchfork point 2 location. |
barIndex3 | int | The bar index of the Andrew's pitchfork point 3 location on the X-axis. |
y3 | double | The Y-axis value of the Andrew's pitchfork point 3 location. |
color | Color | The Andrew's pitchfork lines color. |
thickness | int | The Andrew's pitchfork lines thickness. |
Return Value
ChartAndrewsPitchfork
Related Tutorials
DrawAndrewsPitchfork (6 of 6)
Summary
Draws an Andrew's pitchfork.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the Andrew's pitchfork point 1 location on the X-axis. |
y1 | double | The Y-axis value of the Andrew's pitchfork point 1 location. |
barIndex2 | int | The bar index of the Andrew's pitchfork point 2 location on the X-axis. |
y2 | double | The Y-axis value of the Andrew's pitchfork point 2 location. |
barIndex3 | int | The bar index of the Andrew's pitchfork point 3 location on the X-axis. |
y3 | double | The Y-axis value of the Andrew's pitchfork point 3 location. |
color | Color | The Andrew's pitchfork lines color. |
thickness | int | The Andrew's pitchfork lines thickness. |
lineStyle | LineStyle | The Andrew's pitchfork lines style. |
Return Value
ChartAndrewsPitchfork
Related Tutorials
DrawRectangle (6)¶
DrawRectangle (1 of 6)
Summary
Draws a rectangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the rectangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the rectangle point 1 location. |
time2 | DateTime | The time value of the rectangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the rectangle point 2 location. |
color | Color | The rectangle lines color. |
Return Value
ChartRectangle
Related Tutorials
DrawRectangle (2 of 6)
Summary
Draws a rectangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the rectangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the rectangle point 1 location. |
time2 | DateTime | The time value of the rectangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the rectangle point 2 location. |
color | Color | The rectangle lines color. |
thickness | int | The rectangle lines thickness. |
Return Value
ChartRectangle
Related Tutorials
DrawRectangle (3 of 6)
Summary
Draws a rectangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the rectangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the rectangle point 1 location. |
time2 | DateTime | The time value of the rectangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the rectangle point 2 location. |
color | Color | The rectangle lines color. |
thickness | int | The rectangle lines thickness. |
lineStyle | LineStyle | The rectangle lines style. |
Return Value
ChartRectangle
Related Tutorials
DrawRectangle (4 of 6)
Summary
Draws a rectangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the rectangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the rectangle point 1 location. |
barIndex2 | int | The bar index of the rectangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the rectangle point 2 location. |
color | Color | The rectangle lines color. |
Return Value
ChartRectangle
Related Tutorials
DrawRectangle (5 of 6)
Summary
Draws a rectangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the rectangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the rectangle point 1 location. |
barIndex2 | int | The bar index of the rectangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the rectangle point 2 location. |
color | Color | The rectangle lines color. |
thickness | int | The rectangle lines thickness. |
Return Value
ChartRectangle
Related Tutorials
DrawRectangle (6 of 6)
Summary
Draws a rectangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the rectangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the rectangle point 1 location. |
barIndex2 | int | The bar index of the rectangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the rectangle point 2 location. |
color | Color | The rectangle lines color. |
thickness | int | The rectangle lines thickness. |
lineStyle | LineStyle | The rectangle lines style. |
Return Value
ChartRectangle
Related Tutorials
DrawEllipse (6)¶
DrawEllipse (1 of 6)
Summary
Draws an ellipse.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the ellipse point 1 location on the X-axis. |
y1 | double | The Y-axis value of the ellipse point 1 location. |
time2 | DateTime | The time value of the ellipse point 2 location on the X-axis. |
y2 | double | The Y-axis value of the ellipse point 2 location. |
color | Color | The ellipse line color. |
Return Value
ChartEllipse
Related Tutorials
DrawEllipse (2 of 6)
Summary
Draws an ellipse.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the ellipse point 1 location on the X-axis. |
y1 | double | The Y-axis value of the ellipse point 1 location. |
time2 | DateTime | The time value of the ellipse point 2 location on the X-axis. |
y2 | double | The Y-axis value of the ellipse point 2 location. |
color | Color | The ellipse line color. |
thickness | int | The ellipse line thickness. |
Return Value
ChartEllipse
Related Tutorials
DrawEllipse (3 of 6)
Summary
Draws an ellipse.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the ellipse point 1 location on the X-axis. |
y1 | double | The Y-axis value of the ellipse point 1 location. |
time2 | DateTime | The time value of the ellipse point 2 location on the X-axis. |
y2 | double | The Y-axis value of the ellipse point 2 location. |
color | Color | The ellipse line color. |
thickness | int | The ellipse line thickness. |
lineStyle | LineStyle | The ellipse line style. |
Return Value
ChartEllipse
Related Tutorials
DrawEllipse (4 of 6)
Summary
Draws an ellipse.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the ellipse point 1 location on the X-axis. |
y1 | double | The Y-axis value of the ellipse point 1 location. |
barIndex2 | int | The bar index of the ellipse point 2 location on the X-axis. |
y2 | double | The Y-axis value of the ellipse point 2 location. |
color | Color | The ellipse line color. |
Return Value
ChartEllipse
Related Tutorials
DrawEllipse (5 of 6)
Summary
Draws an ellipse.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the ellipse point 1 location on the X-axis. |
y1 | double | The Y-axis value of the ellipse point 1 location. |
barIndex2 | int | The bar index of the ellipse point 2 location on the X-axis. |
y2 | double | The Y-axis value of the ellipse point 2 location. |
color | Color | The ellipse line color. |
thickness | int | The ellipse line thickness. |
Return Value
ChartEllipse
Related Tutorials
DrawEllipse (6 of 6)
Summary
Draws an ellipse.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the ellipse point 1 location on the X-axis. |
y1 | double | The Y-axis value of the ellipse point 1 location. |
barIndex2 | int | The bar index of the ellipse point 2 location on the X-axis. |
y2 | double | The Y-axis value of the ellipse point 2 location. |
color | Color | The ellipse line color. |
thickness | int | The ellipse line thickness. |
lineStyle | LineStyle | The ellipse line style. |
Return Value
ChartEllipse
Related Tutorials
DrawTriangle (6)¶
DrawTriangle (1 of 6)
Summary
Draws a triangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
time2 | DateTime | The time value of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
time3 | DateTime | The time value of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
Return Value
ChartTriangle
DrawTriangle (2 of 6)
Summary
Draws a triangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
time2 | DateTime | The time value of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
time3 | DateTime | The time value of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
Return Value
ChartTriangle
DrawTriangle (3 of 6)
Summary
Draws a triangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
time2 | DateTime | The time value of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
time3 | DateTime | The time value of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
lineStyle | LineStyle | The triangle line style. |
Return Value
ChartTriangle
DrawTriangle (4 of 6)
Summary
Draws a triangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
barIndex2 | int | The bar index of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
barIndex3 | int | The bar index of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
Return Value
ChartTriangle
DrawTriangle (5 of 6)
Summary
Draws a triangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
barIndex2 | int | The bar index of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
barIndex3 | int | The bar index of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
Return Value
ChartTriangle
DrawTriangle (6 of 6)
Summary
Draws a triangle.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
barIndex2 | int | The bar index of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
barIndex3 | int | The bar index of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
lineStyle | LineStyle | The triangle line style. |
Return Value
ChartTriangle
DrawArrow (6)¶
DrawArrow (1 of 6)
Summary
Draws an arrow.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
time2 | DateTime | The time value of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
Return Value
ChartArrow
Related Tutorials
DrawArrow (2 of 6)
Summary
Draws an arrow.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
time2 | DateTime | The time value of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
Return Value
ChartArrow
Related Tutorials
DrawArrow (3 of 6)
Summary
Draws an arrow.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
time2 | DateTime | The time value of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
lineStyle | LineStyle | The trend line style. |
Return Value
ChartArrow
Related Tutorials
DrawArrow (4 of 6)
Summary
Draws an arrow.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
barIndex2 | int | The bar index of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
Return Value
ChartArrow
Related Tutorials
DrawArrow (5 of 6)
Summary
Draws an arrow.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
barIndex2 | int | The bar index of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
Return Value
ChartArrow
Related Tutorials
DrawArrow (6 of 6)
Summary
Draws an arrow.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the trend line start point location on the X-axis. |
y1 | double | The Y-axis value of the trend line start location. |
barIndex2 | int | The bar index of the trend line end point location on the X-axis. |
y2 | double | The Y-axis value of the trend line end location. |
color | Color | The color of the trend line. |
thickness | int | The thickness of the trend line. |
lineStyle | LineStyle | The trend line style. |
Return Value
ChartArrow
Related Tutorials
XToTime¶
Summary
Converts Mouse X coordinate to area Time coordinate value.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
x | double | Mouse X |
Return Value
DateTime
TimeToX¶
Summary
Converts area Time coordinate to Mouse X coordinate value.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
time | DateTime | Time |
Return Value
double
YToYValue¶
Summary
Converts Mouse Y coordinate to area Y axis coordinate value.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
y | double | Mouse Y coordinate |
Return Value
double
YValueToY¶
Summary
Converts Area Y axis coordinate value to mouse Y coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
yValue | double | Y value |
Return Value
double
XToBarIndex¶
Summary
Converts X coordinate to bar index.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
x | double | X coordinate |
Return Value
double
BarIndexToX¶
Summary
Converts Bar Index to X coordinate.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
barIndex | double | Bar Index |
Return Value
double
Properties¶
IsAlive¶
Summary
Checks whether the instance is still on the chart area.
Signature
1 |
|
Return Value
bool
Width¶
Summary
Gets the width of the chart area.
Signature
1 |
|
Return Value
double
Height¶
Summary
Gets the hight of the chart area.
Signature
1 |
|
Return Value
double
BottomY¶
Summary
Gets the lowest visible Y-axis value.
Signature
1 |
|
Return Value
double
TopY¶
Summary
Gets the highest visible Y-axis value.
Signature
1 |
|
Return Value
double
Objects¶
Summary
Gets the chart objects collection.
Signature
1 |
|
Return Value
IReadonlyList
SelectedObjects¶
Summary
Gets the list of currently selected objects if any.
Signature
1 |
|
Return Value
IReadonlyList
Events¶
MouseEnter¶
Summary
Occurs when the cursor hover over the chart area.
Signature
1 |
|
MouseLeave¶
Summary
Occurs when the cursor leaves the chart area
Signature
1 |
|
MouseMove¶
Summary
Occurs when the cursor moves over the chart area.
Signature
1 |
|
MouseDown¶
Summary
Occurs when the left mouse button is pressed down.
Signature
1 |
|
MouseUp¶
Summary
Occurs when the left mouse button is released.
Signature
1 |
|
MouseWheel¶
Summary
Occurs when the mouse wheel button is rotated.
Signature
1 |
|
DragStart¶
Summary
Occurs when MouseDown event is happening on a chart area and a mouse is captured for dragging.
Signature
1 |
|
DragEnd¶
Summary
Occurs when mouse button is released while dragging a chart area or a chart area loses mouse capture.
Signature
1 |
|
Drag¶
Summary
Occurs when dragging a chart area.
Signature
1 |
|
SizeChanged¶
Summary
Occurs when the chart area size has changed.
Signature
1 |
|
ScrollChanged¶
Summary
Occurs when the X-axis position value or the Y-axis position value changes while scrolling.
Signature
1 |
|
ObjectsAdded¶
Summary
Occurs when one or several chart objects are added to the chart area.
Signature
1 |
|
ObjectsUpdated¶
Summary
Occurs when one or several chart objects are updated.
Signature
1 |
|
ObjectsRemoved¶
Summary
Occurs when one or several chart object are removed from the chart area.
Signature
1 |
|
ObjectsSelectionChanged¶
Summary
Occurs when chart objects are selected or deselected.
Signature
1 |
|
ObjectHoverChanged¶
Summary
Occurs when the cursor hovers over or leaves the object.
Signature
1 |
|
ObjectAdded¶
Signature
1 |
|
ObjectUpdated¶
Signature
1 |
|
ObjectRemoved¶
Signature
1 |
|
ObjectSelectionChanged¶
Signature
1 |
|