BaseComplexIndicator

StockSharp.Algo.Indicators

The base indicator, built in form of several indicators combination.

Inherits: BaseIndicator

Implements: IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable

Constructors

BaseComplexIndicator(IIndicator[])

Initializes a new instance of the BaseComplexIndicator.

innerIndicators
Embedded indicators.

Properties

InnerIndicators : IReadOnlyList<IIndicator>

Embedded indicators.

Mode : ComplexIndicatorModes

Embedded indicators processing mode. The default equals to Parallel.

NumValuesToInitialize : int

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Methods

AddInner(IIndicator)

Add to InnerIndicators.

inner
Indicator.
CalcIsFormed() : bool

Calc IsFormed.

Returns: IsFormed

ClearInner()

Clear InnerIndicators.

CreateValue(DateTime) : T

Create .

time
Time
Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnCreateValue(DateTime) : IIndicatorValue

Create a new instance of IIndicatorValue for the specified time.

time
Time

Returns: IIndicatorValue

OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

Returns: The resulting value.

Process(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

RemoveInner(IIndicator)

Remove from InnerIndicators.

inner
Indicator.
Save(SettingsStorage)

Save settings.

storage
Settings storage.