Create simple EA

MQL5 Experts

Tâche terminée

Temps d'exécution 2 heures
Commentaires de l'employé
Great Customer!
Commentaires du client
Very fask and reliable! great job!

Spécifications

Settings:

Lot size to check

Lot size

Max lot size

TP (points)

SL  (points)

Close LSTC true/false (default must be TRUE)


EA must check if there are open positions and compare with Lot Size to Check. If equal it open a position with the same direction.

Example: LSTC = 0.01, LS = 1, MLS = 1.01, TP = 100, SL = 100, Close LSTC = true.

EA has found 0.01 long position for US500. LS = 1, MLS=1.01. So it is OK to open long for 1 lot. EA close 0.01 position and open 1 with 100 points TP and SL. EA must set SL and TP only for it's position. For example if it is have hedge account to prevent opening more and more positions it must alway be Close LSTC true. If netting then new position will be 1.01 and SL and TP will be set for that new big position. So if netting mode it is not so critical to set Close LSTC to true.


Répondu

1
Développeur 1
Évaluation
(332)
Projets
485
40%
Arbitrage
82
11% / 63%
En retard
77
16%
Gratuit
Publié : 1 code

Informations sur le projet

Budget
50+ USD