Function Code for pearson correlation to use in MQL4 AND MQL5

MQL5 Bibliothèque Convertir

Tâche terminée

Temps d'exécution 4 heures
Commentaires du client
Well done! Fast and professional.
Commentaires de l'employé
Great man!

Spécifications

Hello there,

i need a function (usable in MQL4 and MQL5 - best, if the code is equal) for calculating the pearson correlation between two assets. The function must have the following format:

double pearson(double array &asset1,double array &asset2, int shift asset 1, int shift asset2, int bars to calculate)

{
// function code
return(pearsoncorrelation);
}

The return value must be double and between -1 and 1. The arrays containing close prices in various time frames.

I need the MQL4 (and MQL5) Source Code.

Thank you!

Répondu

1
Développeur 1
Évaluation
(312)
Projets
521
47%
Arbitrage
29
10% / 45%
En retard
139
27%
Travail
2
Développeur 2
Évaluation
(590)
Projets
789
71%
Arbitrage
9
33% / 33%
En retard
22
3%
Gratuit
Publié : 8 codes
3
Développeur 3
Évaluation
(246)
Projets
455
26%
Arbitrage
134
21% / 58%
En retard
99
22%
Gratuit
4
Développeur 4
Évaluation
(54)
Projets
53
17%
Arbitrage
7
0% / 100%
En retard
5
9%
Gratuit
5
Développeur 5
Évaluation
(24)
Projets
27
33%
Arbitrage
2
100% / 0%
En retard
1
4%
Gratuit
6
Développeur 6
Évaluation
(277)
Projets
334
55%
Arbitrage
14
36% / 29%
En retard
1
0%
Gratuit
Commandes similaires
I have multiple python scripts to calculate certain price conducts in multiple forex pairs, in 2 different time frames . The python programs need to be ran every 5 minutes 24/7 in order for them to display the calculations of anomalies, I need to automate this process of running the programs and in addition I need to receive notifications to my phone everytime there is an anomaly. Each program contains different

Informations sur le projet

Budget
30 - 50 USD
TVA (19%): 5.7 - 9.5 USD
Total: 35.7 - 59.5 USD
Pour le développeur
27 - 45 USD
Délais
à 5 jour(s)