TrueRange
StockSharp.Algo.Indicators
True range.
Erbt von: BaseIndicator
Konstruktoren
TrueRange()
Initializes a new instance of the TrueRange.
Eigenschaften
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.
Methoden
GetPriceMovements(ICandleMessage, ICandleMessage) : decimal[]
To get price components to select the maximal value.
- currentCandle
- The current candle.
- prevCandle
- The previous candle.
Rückgabe: Price components.
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
Rückgabe: The resulting value.
Reset()
Reset state.