ChartTrendLine¶
Summary¶
Represents the Trend Line chart object. A straight line that can be drawn from point 1 to the point 2 in any direction to mark the trends on the chart.
Signature
1 |
|
Namespace¶
cAlgo.API
Examples¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
See Also¶
Methods¶
CalculateY (2)¶
CalculateY (1 of 2)
Summary
Calculates Y-axis value corresponding the specified bar index.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
barIndex | int | Index of the bar. |
Return Value
double
CalculateY (2 of 2)
Summary
Calculates Y-axis value corresponding the specified time value.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
time | DateTime | The time. |
Return Value
double
Properties¶
Time1¶
Summary
Gets or sets the value 1 on the Time line.
Signature
1 |
|
Return Value
DateTime
Time2¶
Summary
Gets or sets the value 2 on the Time line.
Signature
1 |
|
Return Value
DateTime
Y1¶
Summary
Gets or sets the value 1 on the Y-axis.
Signature
1 |
|
Return Value
double
Y2¶
Summary
Gets or sets the value 2 on the Y-axis.
Signature
1 |
|
Return Value
double
Color¶
Summary
Gets or sets the color of the Trend Line.
Signature
1 |
|
Return Value
Color
Thickness¶
Summary
Gets or sets the thickness of the Trend Line.
Signature
1 |
|
Return Value
int
Related Tutorials
LineStyle¶
Summary
Gets or sets the Trend Line style.
Signature
1 |
|
Return Value
LineStyle
ShowAngle¶
Summary
Defines the trend line angle.
Signature
1 |
|
Return Value
bool
ExtendToInfinity¶
Summary
Defines if the Trend Line extends to infinity.
Signature
1 |
|
Return Value
bool