Simple EA executing 1 variable with 4 values from MATLAB

Specification

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

Responded

1
Developer 1
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
2
Developer 2
Rating
(332)
Projects
485
40%
Arbitration
82
11% / 63%
Overdue
77
16%
Free
Published: 1 code
3
Developer 3
Rating
(295)
Projects
472
40%
Arbitration
103
40% / 23%
Overdue
78
17%
Busy
Published: 2 codes
4
Developer 4
Rating
(3)
Projects
4
0%
Arbitration
8
13% / 88%
Overdue
1
25%
Free

Project information

Budget
50+ USD