Convert Python KalmanFilter to MQL5

Specification

In this task, you should translate pykalman (https://github.com/pykalman/pykalman/blob/master/pykalman/standard.py#L920) to MQL5, features that must be translated:


initilization: KalmanFilter(transition_matrices=A,transition_covariance=Q)

function em: kf.em(z)

function smooth: x_mean,x_covar=kf.smooth(z)

function filter_update: kf.filter_update(filtered_state_mean=x_mean, filtered_state_covariance=x_covar)     and variant with "observation"



A and Q is a CMatrixDouble(in test case it's (3,3)) matrix (from <Math/Alglib/matrix.mqh>)

z is a double[] array

x_mean and x_covar is a CMatrixDouble, it's the output of kf.smooth() step


I will provide a copy of test data to execute and validate this task, and a copy of python code too
I don't want to use python, just mql5

Responded

1
Developer 1
Rating
(46)
Projects
80
13%
Arbitration
11
0% / 91%
Overdue
51
64%
Free
2
Developer 2
Rating
(7)
Projects
9
0%
Arbitration
3
0% / 100%
Overdue
5
56%
Free
Similar orders
Desenvolvi um script com ajuda de IA, para operar uma carteira de uma casa de análise, onde basicamente quero comprar ou vender, um ou mais ativos no leilão ou abertura de mercado, onde eu escolho os ativos, e opero em paralelo com o python metatrader 5 na operadora RICO, desenvolvi 3 modos de operação, Leilão, Agressão e Leilão + Agressão, onde basicamente eu tento limitar um preço de acordo com o preço de

Project information

Budget
30 - 100 USD
Deadline
from 20 to 60 day(s)