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
評価
(300)
プロジェクト
505
47%
仲裁
28
11% / 43%
期限切れ
139
28%
仕事中
2
開発者 2
評価
(590)
プロジェクト
789
71%
仲裁
9
33% / 33%
期限切れ
22
3%
3
開発者 3
評価
(232)
プロジェクト
434
27%
仲裁
122
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 日