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