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
(320)
Proyectos
466
42%
Arbitraje
78
12% / 63%
Caducado
75
16%
Trabaja
3
Desarrollador 3
Evaluación
(250)
Proyectos
400
38%
Arbitraje
82
41% / 20%
Caducado
69
17%
Trabajando
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
IVA (19%): 9.5 USD
Total: 59.5 USD
Para el ejecutor
45 USD