Function Code for pearson correlation to use in MQL4 AND MQL5

MQL5 라이브러리 전환

작업 종료됨

실행 시간 4 시간
고객의 피드백
Well done! Fast and professional.
피고용인의 피드백
Great man!

명시

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!

응답함

1
개발자 1
등급
(304)
프로젝트
509
47%
중재
29
10% / 45%
기한 초과
138
27%
무료
2
개발자 2
등급
(590)
프로젝트
789
71%
중재
9
33% / 33%
기한 초과
22
3%
무료
3
개발자 3
등급
(236)
프로젝트
440
26%
중재
125
21% / 57%
기한 초과
96
22%
작업중
4
개발자 4
등급
(54)
프로젝트
53
17%
중재
7
0% / 100%
기한 초과
5
9%
무료
5
개발자 5
등급
(24)
프로젝트
27
33%
중재
2
100% / 0%
기한 초과
1
4%
무료
6
개발자 6
등급
(277)
프로젝트
334
55%
중재
14
36% / 29%
기한 초과
1
0%
무료

프로젝트 정보

예산
30 - 50 USD
VAT (19%): 5.7 - 9.5 USD
총: 35.7 - 59.5 USD
개발자에게
27 - 45 USD
기한
 5 일