Pearson correlation

To add comments, please log in or register
Mladen Rakic
155870
Mladen Rakic  

There had been a lot of "systems" lately relying on symbols correlation

Might be interesting to actually see correlations with an indicator like this (based on math, not experience or assumption)

Pearson correlation (among other things) explained : Correlation - Wikipedia, the free encyclopedia

PS: colors should be defined on the inputs tab, not the colors tab. Also, you can enter more than 8 symbols in the symbols list, but only first 8 will be taken into consideration, the rest is going to be ignored (the everlasting metatrader restriction of 8 "drawable" buffers)

PPS: updated indicator to manage mini and micro accounts correctly

Files:
pearson.gif 18 kb
pearson.mq4 9 kb
William Snyder
9491
William Snyder  

Too Cool!

Nice indicator Mladen, Thanks a lot!

EthanHunt
214
EthanHunt  

Thank you for sharing mladen, looks very interesting.

Cheers

Ethan Hunt

lodol2
207
lodol2  

thanks

thx mladen

fxbs
3203
fxbs  

thx, Mladen ! interesting, would it work - on single currency (Pearson correlation let's say price to MA or momentum -like)?

KennyRogers
784
KennyRogers  

I just get a blank indicators window.

I even tried putting the m behind the symbol. No luck.

fxbs
3203
fxbs  
Kenny Rogers:
I just get a blank indicators window. I even tried putting the m behind the symbol. No luck.

it has all of it - thats something else (looks like nobody else has this problem - must be something on your side)

//

if (IsMini()) addition="m";

if (IsDoubleDotted()) addition="..";

else if (IsDotted()) addition=".";

//

Forexcashman
26
Forexcashman  
fxbs:
it has all of it - thats something else (looks like nobody else has this problem - must be something on your side)

//

if (IsMini()) addition="m";

if (IsDoubleDotted()) addition="..";

else if (IsDotted()) addition=".";

//

hi fxbs, it doesn't work on Ibfx mini for me either but its running OK on WHC guess it has something to to with the mini account.

Mladen Rakic
155870
Mladen Rakic  

Found an error in the code regarding mini and micro accounts Please download this version or re-download the updated version from post 1

regards

mladen

Forexcashman:
hi fxbs, it doesn't work on Ibfx mini for me either but its running OK on WHC guess it has something to to with the mini account.
Files:
pearson.mq4 9 kb
Forexcashman
26
Forexcashman  

Thank you mladen.

Michel
476
Michel  
mladen:
There had been a lot of "systems" lately relying on symbols correlation

Might be interesting to actually see correlations with an indicator like this (based on math, not experience or assumption)

Pearson correlation (among other things) explained : Correlation - Wikipedia, the free encyclopedia

PS: colors should be defined on the inputs tab, not the colors tab. Also, you can enter more than 8 symbols in the symbols list, but only first 8 will be taken into consideration, the rest is going to be ignored (the everlasting metatrader restriction of 8 "drawable" buffers)

PPS: updated indicator to manage mini and micro accounts correctly

As always, a very high quality and interesting indic ! Thank you mladen

To add comments, please log in or register