ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.IndicatorSeries Class Reference

Represents a custom data series for an indicator, derived from BaseDataSeries<decimal>. More...

Inheritance diagram for ATAS.Indicators.IndicatorSeries:
[legend]
Collaboration diagram for ATAS.Indicators.IndicatorSeries:
[legend]

Public Member Functions

 IndicatorSeries (Indicator indicator, int seriesId)
 Constructor to create an IndicatorSeries object for the specified indicator and series ID.
 
- Public Member Functions inherited from ATAS.Indicators.BaseDataSeries< decimal >
virtual void Clear ()
 
override string ToString ()
 

Properties

Indicator Indicator [get]
 Gets the associated indicator.
 
int SeriesId [get]
 Gets the ID of the series within the indicator.
 
override int Count [get]
 Gets the count of data points in the series.
 
override decimal this[int index] [get, set]
 Gets the data value at the specified index in the IndicatorSeries.
 
- Properties inherited from ATAS.Indicators.BaseDataSeries< decimal >
bool DrawAbovePrice [get, set]
 
bool IgnoredByAlerts [get, set]
 
string Id [get, set]
 Gets or sets the unique and constant data series ID for data serialization.
 
DataSeriesType Type [get]
 
string Name [get, set]
 
string DescriptionKey [get, set]
 
abstract int Count [get]
 
abstract T this[int index] [get, set]
 Gets or sets the element at the specified index.
 
bool IsHidden [get, set]
 
bool ShowTooltip [get, set]
 
bool UseMinimizedModeIfEnabled [get, set]
 
bool ResetAlertsOnNewBar [get, set]
 
bool ShowNameOnMouseOver [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from ATAS.Indicators.BaseDataSeries< decimal >
void RaiseChanged (int bar)
 
virtual void RaisePropertyChanged (string propertyName)
 
virtual void RaisePanelPropertyChanged (string propertyName)
 
 BaseDataSeries (string id, DataSeriesType type)
 
 BaseDataSeries (string id, string name, DataSeriesType type)
 
 BaseDataSeries (DataSeriesType type)
 
- Events inherited from ATAS.Indicators.BaseDataSeries< decimal >
Action< int > Changed
 
PropertyChangedEventHandler PropertyChanged
 
PropertyChangedEventHandler PanelPropertyChanged
 

Detailed Description

Represents a custom data series for an indicator, derived from BaseDataSeries<decimal>.

Constructor & Destructor Documentation

◆ IndicatorSeries()

ATAS.Indicators.IndicatorSeries.IndicatorSeries ( Indicator  indicator,
int  seriesId 
)

Constructor to create an IndicatorSeries object for the specified indicator and series ID.

Parameters
indicatorThe associated indicator.
seriesIdThe ID of the series within the indicator.
Exceptions
ArgumentNullExceptionThrown if the 'indicator' parameter is null. An IndicatorSeries must be associated with a valid indicator.
IndexOutOfRangeExceptionThrown if the specified 'seriesId' is not a valid index in the parent indicator's DataSeries collection.

Property Documentation

◆ Count

override int ATAS.Indicators.IndicatorSeries.Count
get

Gets the count of data points in the series.

◆ Indicator

Indicator ATAS.Indicators.IndicatorSeries.Indicator
get

Gets the associated indicator.

◆ SeriesId

int ATAS.Indicators.IndicatorSeries.SeriesId
get

Gets the ID of the series within the indicator.

◆ this[int index]

override decimal ATAS.Indicators.IndicatorSeries.this[int index]
getset

Gets the data value at the specified index in the IndicatorSeries.

Parameters
indexThe index of the data value to retrieve.
Returns
The data value at the specified index.

IndicatorSeries does not support modifying data values. It is read-only.

Exceptions
IndexOutOfRangeExceptionThrown if the specified index is outside the valid range of the data series.

The documentation for this class was generated from the following file: