Table of Contents

Class CandlePartSeries

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Represents a data series of decimal values derived from specific parts of an IndicatorCandle created by an ICandleCreator.

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

Constructors

CandlePartSeries(ICandleCreator, DataSeriesType)

Initializes a new instance of the CandlePartSeries class.

public CandlePartSeries(ICandleCreator candleCreator, DataSeriesType type)

Parameters

candleCreator ICandleCreator

The ICandleCreator used to create IndicatorCandles.

type DataSeriesType

The type of data series based on the specific part of the IndicatorCandle.

Properties

Count

Gets the number of elements in the data series.

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

Property Value

int

this[int]

Gets or sets the element at the specified index.

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

Parameters

index int

must be a non-negative integer.

Property Value

decimal

An element of type T at the specified index.

Methods

GetCandle(int)

Gets the IndicatorCandle at the specified bar index.

public IndicatorCandle GetCandle(int bar)

Parameters

bar int

The index of the bar to get the IndicatorCandle for.

Returns

IndicatorCandle

The IndicatorCandle at the specified bar index.