Skip to content

ChartArea

Summary

The Chart Area Interface.

Signature

1
public abstract interface ChartArea

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
public abstract void AddControl(ControlBase control)

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
public abstract void AddControl(ControlBase control, int barIndex, double y)

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
public abstract void AddControl(ControlBase control, DateTime time, double y)

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
public abstract void AddControl(ControlBase control, DateTime time)

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
public abstract void AddControl(ControlBase control, int barIndex)

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
public abstract void AddControl(ControlBase control, double y)

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
public abstract void RemoveControl(ControlBase control)

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
public abstract void MoveControl(ControlBase control, int barIndex, double y)

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
public abstract void MoveControl(ControlBase control, DateTime time, double y)

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
public abstract void MoveControl(ControlBase control, DateTime time)

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
public abstract void MoveControl(ControlBase control, int barIndex)

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
public abstract void MoveControl(ControlBase control, double y)

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 the values is set, then the chart will be expanded regarding the lowest or highest value respectively.

Signature

1
public abstract void SetYRange(double bottomY, double topY)

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
public abstract T[] FindAllObjects()

Return Value

T[]

FindAllObjects (2 of 2)

Summary

Finds all the chart objects of the specified type.

Signature

1
public abstract ChartObject[] FindAllObjects(ChartObjectType objectType)

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
public abstract ChartObject FindObject(string objectName)

Parameters

Name Type Description
objectName string The name of the object.

Return Value

ChartObject

Examples

1
2
3
4
5
 // Draw a horizontal line.
 Chart.DrawHorizontalLine("hLine", Symbol.Ask, Color.Red);
 // Find the line that was drawn.
 var obj = Chart.FindObject("hLine");
 Print("Found object with name {0}", obj.Name);

RemoveObject

Summary

Removes the chart object of the specified name.

Signature

1
public abstract void RemoveObject(string objectName)

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
public abstract void RemoveAllObjects()

Return Value

void

DrawHorizontalLine (3)

DrawHorizontalLine (1 of 3)

Summary

Draws a horizontal line.

Signature

1
public abstract ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color)

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
public abstract ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color, int thickness)

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
public abstract ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartVerticalLine DrawVerticalLine(string name, DateTime time, Color color)

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
public abstract ChartVerticalLine DrawVerticalLine(string name, DateTime time, Color color, int thickness)

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
public abstract ChartVerticalLine DrawVerticalLine(string name, DateTime time, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartVerticalLine DrawVerticalLine(string name, int barIndex, Color color)

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
public abstract ChartVerticalLine DrawVerticalLine(string name, int barIndex, Color color, int thickness)

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
public abstract ChartVerticalLine DrawVerticalLine(string name, int barIndex, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartTrendLine DrawTrendLine(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartTrendLine DrawTrendLine(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartTrendLine DrawTrendLine(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartTrendLine DrawTrendLine(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartTrendLine DrawTrendLine(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartTrendLine DrawTrendLine(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartEquidistantChannel DrawEquidistantChannel(string name, DateTime time1, double y1, DateTime time2, double y2, double channelHeight, Color color)

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
public abstract ChartEquidistantChannel DrawEquidistantChannel(string name, DateTime time1, double y1, DateTime time2, double y2, double channelHeight, Color color, int thickness)

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
public abstract ChartEquidistantChannel DrawEquidistantChannel(string name, DateTime time1, double y1, DateTime time2, double y2, double channelHeight, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartEquidistantChannel DrawEquidistantChannel(string name, int barIndex1, double y1, int barIndex2, double y2, double channelHeight, Color color)

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
public abstract ChartEquidistantChannel DrawEquidistantChannel(string name, int barIndex1, double y1, int barIndex2, double y2, double channelHeight, Color color, int thickness)

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
public abstract ChartEquidistantChannel DrawEquidistantChannel(string name, int barIndex1, double y1, int barIndex2, double y2, double channelHeight, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartText DrawText(string name, string text, DateTime time, double y, Color color)

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
 // Draw the text on the last bar high.
 var highPrice = MarketSeries.High.LastValue;
 var openTime = MarketSeries.OpenTime.LastValue;
 var text = Chart.DrawText("text1", "High is here", openTime, highPrice, Color.Red);
 text.VerticalAlignment = VerticalAlignment.Bottom;
 text.HorizontalAlignment = HorizontalAlignment.Center;

Related Tutorials

DrawText (2 of 2)

Summary

Draws the text.

Signature

1
public abstract ChartText DrawText(string name, string text, int barIndex, double y, Color color)

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
public abstract ChartStaticText DrawStaticText(string name, string text, VerticalAlignment verticalAlignment, HorizontalAlignment horizontalAlignment, Color color)

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
public abstract ChartIcon DrawIcon(string name, ChartIconType iconType, DateTime time, double y, Color color)

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
public abstract ChartIcon DrawIcon(string name, ChartIconType iconType, int barIndex, double y, Color color)

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
 // Draw an icon on the last bar high.

Related Tutorials

DrawFibonacciRetracement (6)

DrawFibonacciRetracement (1 of 6)

Summary

Draws a Fibonacci retracement.

Signature

1
public abstract ChartFibonacciRetracement DrawFibonacciRetracement(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartFibonacciRetracement DrawFibonacciRetracement(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartFibonacciRetracement DrawFibonacciRetracement(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciRetracement DrawFibonacciRetracement(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartFibonacciRetracement DrawFibonacciRetracement(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartFibonacciRetracement DrawFibonacciRetracement(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciExpansion DrawFibonacciExpansion(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color)

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
public abstract ChartFibonacciExpansion DrawFibonacciExpansion(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness)

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
public abstract ChartFibonacciExpansion DrawFibonacciExpansion(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciExpansion DrawFibonacciExpansion(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color)

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
public abstract ChartFibonacciExpansion DrawFibonacciExpansion(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness)

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
public abstract ChartFibonacciExpansion DrawFibonacciExpansion(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciFan DrawFibonacciFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartFibonacciFan DrawFibonacciFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartFibonacciFan DrawFibonacciFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciFan DrawFibonacciFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartFibonacciFan DrawFibonacciFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartFibonacciFan DrawFibonacciFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciTimezones DrawFibonacciTimezones(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartFibonacciTimezones DrawFibonacciTimezones(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartFibonacciTimezones DrawFibonacciTimezones(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartFibonacciTimezones DrawFibonacciTimezones(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartFibonacciTimezones DrawFibonacciTimezones(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartFibonacciTimezones DrawFibonacciTimezones(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color)

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
public abstract ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness)

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
public abstract ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color)

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
public abstract ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness)

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
public abstract ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartTriangle DrawTriangle(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color)

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
public abstract ChartTriangle DrawTriangle(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness)

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
public abstract ChartTriangle DrawTriangle(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartTriangle DrawTriangle(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color)

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
public abstract ChartTriangle DrawTriangle(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness)

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
public abstract ChartTriangle DrawTriangle(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartArrow DrawArrow(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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
public abstract ChartArrow DrawArrow(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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
public abstract ChartArrow DrawArrow(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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
public abstract ChartArrow DrawArrow(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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
public abstract ChartArrow DrawArrow(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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
public abstract ChartArrow DrawArrow(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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

Properties

IsAlive

Summary

Checks whether the instance is still on the chart area.

Signature

1
public abstract bool IsAlive {get;}

Return Value

bool

Width

Summary

Gets the width of the chart area.

Signature

1
public abstract double Width {get;}

Return Value

double

Height

Summary

Gets the hight of the chart area.

Signature

1
public abstract double Height {get;}

Return Value

double

BottomY

Summary

Gets the lowest visible Y-axis value.

Signature

1
public abstract double BottomY {get;}

Return Value

double

TopY

Summary

Gets the highest visible Y-axis value.

Signature

1
public abstract double TopY {get;}

Return Value

double

Objects

Summary

Gets the chart objects collection.

Signature

1
public abstract IReadonlyList<ChartObject> Objects {get;}

Return Value

IReadonlyList

SelectedObjects

Summary

Gets the list of currently selected objects if any.

Signature

1
public abstract IReadonlyList<ChartObject> SelectedObjects {get;}

Return Value

IReadonlyList

Events

MouseEnter

Summary

Occurs when the cursor hover over the chart area.

Signature

1
public abstract event Action<ChartMouseEventArgs> MouseEnter;

MouseLeave

Summary

Occurs when the cursor leaves the chart area

Signature

1
public abstract event Action<ChartMouseEventArgs> MouseLeave;

MouseMove

Summary

Occurs when the cursor moves over the chart area.

Signature

1
public abstract event Action<ChartMouseEventArgs> MouseMove;

MouseDown

Summary

Occurs when the left mouse button is pressed down.

Signature

1
public abstract event Action<ChartMouseEventArgs> MouseDown;

MouseUp

Summary

Occurs when the left mouse button is released.

Signature

1
public abstract event Action<ChartMouseEventArgs> MouseUp;

MouseWheel

Summary

Occurs when the mouse wheel button is rotated.

Signature

1
public abstract event Action<ChartMouseWheelEventArgs> MouseWheel;

DragStart

Summary

Occurs when MouseDown event is happening on a chart area and a mouse is captured for dragging.

Signature

1
public abstract event Action<ChartDragEventArgs> DragStart;

DragEnd

Summary

Occurs when mouse button is released while dragging a chart area or a chart area loses mouse capture.

Signature

1
public abstract event Action<ChartDragEventArgs> DragEnd;

Drag

Summary

Occurs when dragging a chart area.

Signature

1
public abstract event Action<ChartDragEventArgs> Drag;

SizeChanged

Summary

Occurs when the chart area size has changed.

Signature

1
public abstract event Action<ChartSizeEventArgs> SizeChanged;

ScrollChanged

Summary

Occurs when the X-axis position value or the Y-axis position value changes while scrolling.

Signature

1
public abstract event Action<ChartScrollEventArgs> ScrollChanged;

ObjectsAdded

Summary

Occurs when one or several chart objects are added to the chart area.

Signature

1
public abstract event Action<ChartObjectsAddedEventArgs> ObjectsAdded;

ObjectsUpdated

Summary

Occurs when one or several chart objects are updated.

Signature

1
public abstract event Action<ChartObjectsUpdatedEventArgs> ObjectsUpdated;

ObjectsRemoved

Summary

Occurs when one or several chart object are removed from the chart area.

Signature

1
public abstract event Action<ChartObjectsRemovedEventArgs> ObjectsRemoved;

ObjectsSelectionChanged

Summary

Occurs when chart objects are selected or deselected.

Signature

1
public abstract event Action<ChartObjectsSelectionChangedEventArgs> ObjectsSelectionChanged;

ObjectHoverChanged

Summary

Occurs when the cursor hovers over or leaves the object.

Signature

1
public abstract event Action<ChartObjectHoverChangedEventArgs> ObjectHoverChanged;

ObjectAdded

Signature

1
public abstract event Action<ChartObjectAddedEventArgs> ObjectAdded;

ObjectUpdated

Signature

1
public abstract event Action<ChartObjectUpdatedEventArgs> ObjectUpdated;

ObjectRemoved

Signature

1
public abstract event Action<ChartObjectRemovedEventArgs> ObjectRemoved;

ObjectSelectionChanged

Signature

1
public abstract event Action<ChartObjectSelectionChangedEventArgs> ObjectSelectionChanged;