Create simple EA

MQL5 Experts

Job finished

Execution time 2 hours
Feedback from employee
Great Customer!
Feedback from customer
Very fask and reliable! great job!

Specification

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.


Responded

1
Developer 1
Rating
(332)
Projects
485
40%
Arbitration
82
11% / 63%
Overdue
77
16%
Free
Published: 1 code

Project information

Budget
50+ USD