Function Code for pearson correlation to use in MQL4 AND MQL5

MQL5 Librerie In conversione

Lavoro terminato

Tempo di esecuzione 4 ore
Feedback del cliente
Well done! Fast and professional.
Feedback del dipendente
Great man!

Specifiche

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!

Con risposta

1
Sviluppatore 1
Valutazioni
(312)
Progetti
521
47%
Arbitraggio
29
10% / 45%
In ritardo
139
27%
In elaborazione
2
Sviluppatore 2
Valutazioni
(590)
Progetti
789
71%
Arbitraggio
9
33% / 33%
In ritardo
22
3%
Gratuito
Pubblicati: 8 codici
3
Sviluppatore 3
Valutazioni
(246)
Progetti
455
26%
Arbitraggio
134
21% / 58%
In ritardo
99
22%
Gratuito
4
Sviluppatore 4
Valutazioni
(54)
Progetti
53
17%
Arbitraggio
7
0% / 100%
In ritardo
5
9%
Gratuito
5
Sviluppatore 5
Valutazioni
(24)
Progetti
27
33%
Arbitraggio
2
100% / 0%
In ritardo
1
4%
Gratuito
6
Sviluppatore 6
Valutazioni
(277)
Progetti
334
55%
Arbitraggio
14
36% / 29%
In ritardo
1
0%
Gratuito

Informazioni sul progetto

Budget
30 - 50 USD
IVA (19%): 5.7 - 9.5 USD
Totale: 35.7 - 59.5 USD
Per lo sviluppatore
27 - 45 USD
Scadenze
a 5 giorno(i)