L_Correlation

0
(0)
姓名:
L_Correlation [ | cn ]
作者: lotos4u (2008.06.28 19:12)
已下載: 3223
下載:
L_Correlation 1
^L_Correlation.mq4 (7.2 KB) 看法

The calculation of correlation coefficient between two quotes charts of two currency pairs is performed (between the currency pair to whose chart the indicator is attached and the pair specified in the parameters of the indicator).

The followings are displayed in the indicator's window:

  • The chart of the correlation coefficient (you can disable its displaying as is shown on the mentioned pictures)
  • The chart of the moving average related to the curve of the correlation coefficient (you can disable displaying)
  • The average value of the correlation coefficient for the specified number of last bars

L_Correlation 2

L_Correlation 3

Mode = 0, 1, 2 - the parameter that determines the exact property of the price chart the correlation will be calculated for (0 - for the close price of the bar, 1- for the differnece between the open and the close prices, 2 - for the relation between the close price and the maximum price of the bar).

Pair = "美元瑞郎", "歐元美元"... - a currency pair the correlation coefficient is to be calculated for.
ShowCorrelation = true - if the displaying of the buffer of the correlation coefficient is necessary, =假 - 如果不.
ShowMA = true - if the displaying of the buffer of the correlation coefficient's moving average is necessary, =假 - 如果不.
CorrelationRadius = 15 - the radius of the correlation.
MA_Period = 10 - the period of the moving average.
ResultingBars = 0 - the number of bars the total average value of the correlation coefficient is calculated by (this value is displayed at the bottom-left part of the window). If ResultingBars = 0, then the average will be calculated by all obtained values of the correlation coefficient.

FontName = "Verdana" - the font the average value of the correlation coefficient is displayed with.
FontSize = 10 - the font size.
FontColor = Black - the font color.

這篇文章有多有用?

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

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

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

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

讓我們改進這篇文章!

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



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