Table of Contents

Class IndicatorSeries

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

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

public class IndicatorSeries : BaseDataSeries<decimal>, IDataSeries, INotifyPanelPropertyChanged
Inheritance
object
IndicatorSeries
Implements
Extension Methods

Constructors

IndicatorSeries(Indicator, int)

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

public IndicatorSeries(Indicator indicator, int seriesId)

Parameters

indicator Indicator

The associated indicator.

seriesId int

The ID of the series within the indicator.

Exceptions

ArgumentNullException

Thrown if the 'indicator' parameter is null. An IndicatorSeries must be associated with a valid indicator.

IndexOutOfRangeException

Thrown if the specified 'seriesId' is not a valid index in the parent indicator's DataSeries collection.

Properties

Count

Gets the count of data points in the series.

[IgnoreDataMember]
[Browsable(false)]
public override int Count { get; }

Property Value

int

Indicator

Gets the associated indicator.

[IgnoreDataMember]
public Indicator Indicator { get; }

Property Value

Indicator

this[int]

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

public override decimal this[int index] { get; set; }

Parameters

index int

The index of the data value to retrieve.

Property Value

decimal

The data value at the specified index.

Remarks

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

Exceptions

IndexOutOfRangeException

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

SeriesId

Gets the ID of the series within the indicator.

[IgnoreDataMember]
public int SeriesId { get; }

Property Value

int