Correlation

0
(0)
Name:
Correlation [ ru | cn ]
Author: Scriptor (2009.01.07 09:28)
Rating: 8
Downloaded: 4039
Download:
Correlation 1
 Correlation.mq4 (3.4 Kb) View
The indicator calculates the correlation of the currency pairs.

Input Parameters:

extern string OtherChart="EURUSD";
extern int n=20;
extern bool UseOpen=true;
extern bool UseClose=false;
extern bool UseHigh=false;
extern bool UseLow=false;
extern int CalcBars=400;

Calculation Formula :
Индикаторы Форекс Индикатор корелляции
where

Индикаторы Форекс Индикатор корелляцииand

Индикаторы Форекс Индикатор корелляцииare the prices of two assets on the same TF. n is the period the correlation is calculated for. x and y (with the dashes above them) are the average values of x and y for the last n bars.

 

Example with USDCHF and EURUSD:

Correlation 2

Correlation

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.