Correlation Coefficients

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Correlation Coefficients

Postby Apprentice » Thu Apr 20, 2017 3:14 pm

EURUSD H1 (04-20-2017 2048).png

Shows the correlation coefficient between the two currency pairs.
Negative correlation means the two currency pairs correlate in the opposite directions (e.g. when the price for one goes up, the other one goes down and vice versa)

The correlation coefficient for two exchange rates is calculated using the following formula.
Capture.PNG


Correlation Trade Line Color
Instrument 1 > MA of Instrument 1
Instrument 2 > MA of Instrument 2
or
Instrument 1 < MA of Instrument 1
Instrument 2 < MA of Instrument 2

Reverse Trade Line Color
Instrument 1 > MA of Instrument 1
Instrument 2 < MA of Instrument 2
or
Instrument 1 < MA of Instrument 1
Instrument 2 > MA of Instrument 2

Correlation Coefficients.lua
(7.75 KiB) Downloaded 549 times


The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 46 guests