TrueRange

StockSharp.Algo.Indicators

True range.

继承自: BaseIndicator

构造函数

TrueRange()

Initializes a new instance of the TrueRange.

属性

Measure : IndicatorMeasures

IndicatorMeasures.

NumValuesToInitialize : int

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

方法

GetPriceMovements(ICandleMessage, ICandleMessage) : decimal[]

To get price components to select the maximal value.

currentCandle
The current candle.
prevCandle
The previous candle.

返回值: Price components.

OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

返回值: The resulting value.

Reset()

Reset state.