Spearman’s Rank Correlation

0
(0)
姓名:
Spearman's Rank Correlation [ ]
作者: 元報價 (2008.02.10 15:46)
評分: 10
已下載: 7983
下載:
Spearman's Rank Correlation 1
SpearmanRankCorr.mq4 (4.8 KB) 看法
Spearman's Rank Correlation is a non-parametric method used in order to make statistical studies of relationship between variables. 在這種情況下, the factual degree of parallelism between two numeric sequences will be detected.

The practical calculation of Spearman's Rank Correlation includes the following stages:

1) pair each indication with its number (rank) and rank them from the highest to the lowest or vice versa;
2) subtract the two sets of ranks of each pair of values to be compared;
3) square each difference and add the obtained values;
4) calculate the rank correlation from the following formula:
Spearman's Rank Correlation 2,
在哪裡 Spearman's Rank Correlation 3 is the sum of squares of rank differences, Spearman's Rank Correlation 4 is the number of paired observations.
When employing the rank correlation, one conditionally estimates the correlation ratio between indications considering the values being equal to or below 0.3 to be the indications of low correlation ratio, whereas the values between 0.4 和 0.7 are considered to indicate a moderate correlation ratio, values above 0.7 - to indicate a high correlation ratio.
Spearman's Rank Correlation is a little less powerful than the Parametric Correlation.

It is reasonable to use the rank correlation when there is just a small amount of observations. This method can be used for both numerical data and in the cases, when the registered values are detected by attributes of various intensity. The source of the above description was found 這裡.

Spearman's Rank Correlation 5

This indicator is one of oscillators. 然而, being compared to stochastic oscillator, it is smoother. 而且, it does not delay in pivot points.
The only external parameter that influences the calculation algorithms is rangeN. It sets the amount of bars, for which we are trying to find regularities. If rangeN = 14, then we take the close price sequence Close[我], 關閉[i+1], ... 關閉[i+rangeN-1], and construct a rank sequence for them, IE。, we find the location of each close price when the sequence is sorted. 在這種情況下, one real chart turns to be compared to another, monotone increasing chart.

The parameter of direction means sorting from the highest to the lowest value (真的) or from the lowest to the highest value (錯誤的). The value of 真的 shows a more usual picture, whereas 錯誤的 produces an inverted image. Parameter CalculatedBars is introduced in order to limit the amount of bars under calculation, to save CPU resources (though that wasn't needed). Zero value of this parameter means that calculations will be performed for all history available. Parameter Maxrange = 30 sets the maximum calculation period. This parameter was introduced in order to save resources, as well, so maybe somebody will need it.

3 評論 發表新評論, 請 登錄 或者 登記

I have tried this indicator and it will not even load. I even tried recompiling it, but it will not load on a chart. I'm using MT4 Ver. 4.0, 建造 500. Is anyone else having this problem? Is there a fix?
14.07.2013 07:35 memoses

I use this indicator and It has given me VERY NICE RESULTS. 大體時間: 5米, 一對: 歐元美元. I trade the first three hours in London and New York markets to ensure volume. I have in mind the levels +0.9 (Overbought) 和 -0.9 (Oversold), so that when it breaks down after hitting +0.9 賣, so when it breaks up after hitting -0.9 買. NO REPAINTS !!!

Spearman's Rank Correlation 6

 

09.01.2013 04:00 dbenjume

Great indicator. It would be great to have a spearman auto-correlation, returning a value between -1 和 +1. Being overbought > 0.75 and oversold < -0.75.

這篇文章有多有用?

點擊一顆星即可對其進行評分!

平均評分 0 / 5. 計票數: 0

目前還沒有投票! 成為第一個評價這篇文章的人.

很抱歉這篇文章對您沒有用!

讓我們改進這篇文章!

告訴我們如何改進這篇文章?



作者: 外匯維基團隊
我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.