Simple EA executing 1 variable with 4 values from MATLAB

Tarea técnica

Good Day Developers!

I am looking for a simple script to execute trades based on a external script running on mathlab.

It would be great, if you could also give some experience/advice on how to best export the calculations running in math lab. 



The following is performed, based on the value of a single variable.

If the variable is...

... 0 = no trades shall be running / everything is closed

--- 1 = Pair 1 long, Pair 2 short

... 2 = Pair 1 short, Pair 2 long

... 3 = Close all running positions.



The risk of the positions opened by both of the numbers "1" and "2" shall be a percentage, that can be defined in the settings of the EA.



If you have any further questions, please let me know.



Best regards,

Jonny

Han respondido

1
Desarrollador 1
Evaluación
(38)
Proyectos
50
10%
Arbitraje
1
0% / 0%
Caducado
8
16%
Libre
2
Desarrollador 2
Evaluación
(332)
Proyectos
485
40%
Arbitraje
82
11% / 63%
Caducado
77
16%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(295)
Proyectos
472
40%
Arbitraje
103
40% / 23%
Caducado
78
17%
Ocupado
Ha publicado: 2 ejemplos
4
Desarrollador 4
Evaluación
(3)
Proyectos
4
0%
Arbitraje
8
13% / 88%
Caducado
1
25%
Libre

Información sobre el proyecto

Presupuesto
50+ USD