ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.Drawing.TrendLine Class Reference

Represents a trend line on a chart. More...

Inheritance diagram for ATAS.Indicators.Drawing.TrendLine:
[legend]

Public Member Functions

 TrendLine (int firstBar, decimal firstPrice, int secondBar, decimal secondPrice, Pen pen)
 Initializes a new instance of the TrendLine class.
 

Properties

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.
 

Detailed Description

Represents a trend line on a chart.

Constructor & Destructor Documentation

◆ 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
firstBarThe index of the first bar.
firstPriceThe price value of the first point.
secondBarThe index of the second bar.
secondPriceThe price value of the second point.
penThe pen used to draw the trend line.

Property Documentation

◆ 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: