BaseComplexIndicator
StockSharp.Algo.Indicators
The base indicator, built in form of several indicators combination.
继承自: BaseIndicator
实现: IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
构造函数
BaseComplexIndicator(IIndicator[])
Initializes a new instance of the BaseComplexIndicator.
- innerIndicators
- Embedded indicators.
属性
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.
方法
ClearInner()
Clear InnerIndicators.
OnCreateValue(DateTime) : IIndicatorValue
Create a new instance of IIndicatorValue for the specified time.
- time
- Time
返回值: IIndicatorValue
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
返回值: The resulting value.
Process(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
返回值: The new value of the indicator.