EA stratégie simple : ratio 2 symboles achat/vente suivant 6 variables

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
tout est bien réalisé dans les délais

Specification

Symbole Forex : A

Symbole Forex : B

Calcul Ratio = A/B (close chaque Tick)

Nombre de contrats : D  numérique 

Variables : C , E , F numériques entier

Nombre Maximum de contrats ouverts symbole A : G  en valeur absolue (peut être + ou -)


Si positions ouvertes dans le compte >= G : pas de nouvelle position

Si Ratio > C  : Buy B  Nbre = D * Ratio (nombre entier) ; Sell A Nbre = D

Si Ratio < E  : Sell B  Nbre = D * Ratio (nombre entier) ; Buy A Nbre = D

Si Account Profit ( global : toutes les positions ouvertes) > F ==> Close all







Responded

1
Developer 1
Rating
(568)
Projects
657
32%
Arbitration
41
41% / 46%
Overdue
11
2%
Busy
2
Developer 2
Rating
(153)
Projects
238
33%
Arbitration
20
45% / 30%
Overdue
2
1%
Free
3
Developer 3
Rating
(21)
Projects
25
52%
Arbitration
3
0% / 100%
Overdue
2
8%
Free

Project information

Budget
30+ USD