SuperTrend
StockSharp.Algo.Indicators
SuperTrend indicator.
继承自: BaseIndicator
构造函数
SuperTrend()
Initializes a new instance of the SuperTrend class.
SuperTrend(AverageTrueRange)
Initializes a new instance of the SuperTrend class.
- atr
- AverageTrueRange
属性
Multiplier : decimal
Multiplier for ATR.
NumValuesToInitialize : int
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
方法
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
返回值: The resulting value.
Reset()
Reset state.