Class |
Description |
Properties/Functions |
TChartGraph |
The basic class for any indicator graph |
a) constructor Create – the constructor of the graph b) function Count: Integer – the number of Graph values c) procedure Clear – clearing the graph d) procedure AddXY(const X, Y: Double) - adding a point with two coordinates to the graph e) function XValue(const Index: Integer): Double – getting the X-coordinate of the graph point by the Index f) function YValue(const Index: Integer): Double – getting the Y-coordinate of the graph point by the Index g) property Color: TColor – the color of the graph |
TChartStatistics |
The basic class for any statistics |
a) constructor Create – the constructor of the statistics b) procedure Clear – clearing the statistics c) procedure AddValue(const Value: Double) - adding the Value to the statistics d) function GetValue(const Index: Integer): Double - getting the statistics Value by Index e) function HasValue(const Index: Integer): Boolean – checking whether the statistics has a value by the specified index f) function HasValues: Boolean – checking whether the statistics has any values g) function LastValue: Double – the last value of the statistics h) property Period: Double – the period of the statistics |
TOHLCGraph = class(TChartGraph) |
A sub-class of TChartGraph. The financial graph with Open, Close, high and low values |
a) function OpenValue(const Index: Integer): Double – the open value of the time interval by Index b) function CloseValue(const Index: Integer): Double – the close value of the time interval by Index c) function HighValue(const Index: Integer): Double – the highest value over the time interval by Index d) function LowValue(const Index: Integer): Double – the lowest value over the time interval by Index + same as for TChartGraph |
TLineGraph = class(TChartGraph) |
A sub-class of TChartGraph. The graph that is displayed as a line |
Same as for TChartGraph |
TPointGraph = class(TChartGraph) |
A sub-class of TChartGraph. The graph that is displayed as points |
Same as for TChartGraph |
TVolumeGraph = class(TChartGraph) |
A sub-class of TChartGraph. The graph that is displayed as thin vertical lines |
a) property YOrigin: Double – defines the reference point for the graph lines b) property UseYOrigin: Boolean – if True, the YOrigin property will be used to define the reference point for the graph lines + same as for TChartGraph |
TSMAStatistics = class(TChartStatistics) |
A sub-class of TChartStatistics. 'Simple Moving Average' statistics |
Same as for TChartStatistics |
TEMAStatistics = class(TChartStatistics) |
A sub-class of TChartStatistics. 'Exponential Moving Average' statistics |
Same as for TChartStatistics |
TCanvas |
The class used to work with canvas |
a) procedure MoveTo(X: Integer; Y: Integer) - moving the drawing cursor into the X,Y position b) procedure LineTo(X: Integer; Y: Integer) – drawing a line from the current cursor position to the X,Y point c) procedure Line(X0, Y0, X1, Y1: Integer) – drawing a line from X0, Y0 point to X1, Y1 point |