RankCorrelationIndex

StockSharp.Algo.Indicators

Rank Correlation Index (Spearman's Rank Correlation Coefficient). Compares price movement ranking vs time ranking inside the window.

Erbt von: DecimalLengthIndicator

Konstruktoren

RankCorrelationIndex()

Initializes a new instance of the RankCorrelationIndex.

Eigenschaften

Measure : IndicatorMeasures

IndicatorMeasures.

Methoden

CalculateSpearmanCorrelation(decimal[], decimal[]) : decimal

Pearson correlation between two rank arrays (works with ties).

GetRanks(IList<decimal>) : decimal[]

Produce rank array with average rank for ties.

OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

Rückgabe: The resulting value.