RankCorrelationIndex

StockSharp.Algo.Indicators

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

Hereda de: DecimalLengthIndicator

Constructores

RankCorrelationIndex()

Initializes a new instance of the RankCorrelationIndex.

Propiedades

Measure : IndicatorMeasures

IndicatorMeasures.

Métodos

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.

Devuelve: The resulting value.