Convert Python KalmanFilter to MQL5

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(46)
Proyectos
80
13%
Arbitraje
11
0% / 91%
Caducado
51
64%
Libre
2
Desarrollador 2
Evaluación
(7)
Proyectos
9
0%
Arbitraje
3
0% / 100%
Caducado
5
56%
Libre
Solicitudes similares
1️ ⃣ Informações Gerais Plataforma: MetaTrader 5 Tipo: Expert Advisor (EA) Operação: Hedge + Grid Dinâmico Indicador base: Average True Range (ATR período 20) 2️ ⃣ LÓGICA OPERACIONAL 🔹 2.1 Abertura Inicial O robô trabalha sempre com ordem de compra e venda ao mesmo tempo (HEDGE) e o fechamento é sempre usando GRID que tem multiplicador de lote e o tamanho (espaçamento) dinâmico com base em um fator de
TradingView to MT5 Webhook Bridge - Futures to Spot Execution Project Goal I need a developer to build a bridge between my TradingView indicator in the futures market and my existing MetaTrader 5 EA in the spot market. When my TradingView indicator generates a BUY or SELL signal on a futures symbol, for example 6A1!, it must automatically trigger my MT5 EA to open a trade on the corresponding spot symbol, for example

Información sobre el proyecto

Presupuesto
30 - 100 USD
Plazo límite de ejecución
de 20 a 60 día(s)