Function Code for pearson correlation to use in MQL4 AND MQL5

MQL5 Bibliotecas Conversão

Trabalho concluído

Tempo de execução 4 horas
Comentário do cliente
Well done! Fast and professional.
Comentário do desenvolvedor
Great man!

Termos de Referência

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!

Respondido

1
Desenvolvedor 1
Classificação
(300)
Projetos
505
47%
Arbitragem
28
11% / 43%
Expirado
139
28%
Trabalhando
2
Desenvolvedor 2
Classificação
(590)
Projetos
789
71%
Arbitragem
9
33% / 33%
Expirado
22
3%
Livre
3
Desenvolvedor 3
Classificação
(232)
Projetos
434
27%
Arbitragem
122
21% / 57%
Expirado
96
22%
Trabalhando
4
Desenvolvedor 4
Classificação
(54)
Projetos
53
17%
Arbitragem
7
0% / 100%
Expirado
5
9%
Livre
5
Desenvolvedor 5
Classificação
(24)
Projetos
27
33%
Arbitragem
2
100% / 0%
Expirado
1
4%
Livre
6
Desenvolvedor 6
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre

Informações sobre o projeto

Orçamento
30 - 50 USD
IVA (19%): 5.7 - 9.5 USD
Total: 35.7 - 59.5 USD
Desenvolvedor
27 - 45 USD
Prazo
para 5 dias