RankCorrelationIndex

StockSharp.Algo.Indicators

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

继承自: DecimalLengthIndicator

构造函数

RankCorrelationIndex()

Initializes a new instance of the RankCorrelationIndex.

属性

Measure : IndicatorMeasures

IndicatorMeasures.

方法

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.

返回值: The resulting value.