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 代码
3
开发者 3
等级
(246)
项目
455
26%
仲裁
134
21% / 58%
逾期
99
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%
空闲
相似订单
I have multiple python scripts to calculate certain price conducts in multiple forex pairs, in 2 different time frames . The python programs need to be ran every 5 minutes 24/7 in order for them to display the calculations of anomalies, I need to automate this process of running the programs and in addition I need to receive notifications to my phone everytime there is an anomaly. Each program contains different

项目信息

预算
30 - 50 USD
VAT (19%): 5.7 - 9.5 USD
总计: 35.7 - 59.5 USD
开发人员
27 - 45 USD
截止日期
 5 天