Represents a trend line on a chart.
More...
|
| TrendLine (int firstBar, decimal firstPrice, int secondBar, decimal secondPrice, Pen pen) |
| Initializes a new instance of the TrendLine class.
|
|
|
Pen | Pen [get, set] |
| Gets or sets the pen used to draw the trend line.
|
|
int | FirstBar [get, set] |
| Gets or sets the index of the first bar.
|
|
int | SecondBar [get, set] |
| Gets or sets the index of the second bar.
|
|
decimal | FirstPrice [get, set] |
| Gets or sets the price value of the first point.
|
|
decimal | SecondPrice [get, set] |
| Gets or sets the price value of the second point.
|
|
bool | IsRay [get, set] |
| Gets or sets a value indicating whether the trend line is displayed as a ray.
|
|
Represents a trend line on a chart.
◆ TrendLine()
ATAS.Indicators.Drawing.TrendLine.TrendLine |
( |
int |
firstBar, |
|
|
decimal |
firstPrice, |
|
|
int |
secondBar, |
|
|
decimal |
secondPrice, |
|
|
Pen |
pen |
|
) |
| |
Initializes a new instance of the TrendLine class.
- Parameters
-
firstBar | The index of the first bar. |
firstPrice | The price value of the first point. |
secondBar | The index of the second bar. |
secondPrice | The price value of the second point. |
pen | The pen used to draw the trend line. |
◆ FirstBar
int ATAS.Indicators.Drawing.TrendLine.FirstBar |
|
getset |
Gets or sets the index of the first bar.
◆ FirstPrice
decimal ATAS.Indicators.Drawing.TrendLine.FirstPrice |
|
getset |
Gets or sets the price value of the first point.
◆ IsRay
bool ATAS.Indicators.Drawing.TrendLine.IsRay |
|
getset |
Gets or sets a value indicating whether the trend line is displayed as a ray.
◆ Pen
Pen ATAS.Indicators.Drawing.TrendLine.Pen |
|
getset |
Gets or sets the pen used to draw the trend line.
◆ SecondBar
int ATAS.Indicators.Drawing.TrendLine.SecondBar |
|
getset |
Gets or sets the index of the second bar.
◆ SecondPrice
decimal ATAS.Indicators.Drawing.TrendLine.SecondPrice |
|
getset |
Gets or sets the price value of the second point.
The documentation for this class was generated from the following file: