RankCorrelationIndex
StockSharp.Algo.Indicators
Rank Correlation Index (Spearman's Rank Correlation Coefficient). Compares price movement ranking vs time ranking inside the window.
Inherits: DecimalLengthIndicator
Constructors
RankCorrelationIndex()
Initializes a new instance of the RankCorrelationIndex.
Properties
Measure : IndicatorMeasures
IndicatorMeasures.
Methods
CalculateSpearmanCorrelation(decimal[], decimal[]) : decimal
Pearson correlation between two rank arrays (works with ties).
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
Returns: The resulting value.