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
評価
(312)
プロジェクト
521
47%
仲裁
29
10% / 45%
期限切れ
139
27%
仕事中
2
開発者 2
評価
(590)
プロジェクト
789
71%
仲裁
9
33% / 33%
期限切れ
22
3%
パブリッシュした人: 8 codes
3
開発者 3
評価
(250)
プロジェクト
460
26%
仲裁
140
20% / 59%
期限切れ
100
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
締め切り
最高 5 日