Leverage and equity protector

MQL5 Experts Scripts

Specification

FUNCTION 1 - 

continuously monitor and control leverage 

 

if trader exceeded leverage from input value than automatically close new deals that trader try to open  (already placed order should be working )

For example account leverage is 1;500

but we change allowed leverage in EA to 1;10

if trader  open more deals than allowed .

EA should close all new deals that exceed the ALLOWED LEVERAGE . 

RESULT= CONTROLING MAX EXPOSURE 


FUNCTION 2 

DRAWDOWN CONTROLER 

Close all deals if hits loss limit( in percentage )

and then disable trading at all (manually and automatically ),

for example if daily loss limit is set to 1% and trader hit this limit , than EA should close all open and pending  deals and also close all new deals if trader try to open ,  till the end of  trading day or next morning ( 12 o'clock night )

Responded

1
Developer 1
Rating
(634)
Projects
1003
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Working
Published: 6 codes
2
Developer 2
Rating
(434)
Projects
638
53%
Arbitration
32
59% / 22%
Overdue
6
1%
Working
3
Developer 3
Rating
(471)
Projects
490
75%
Arbitration
6
67% / 17%
Overdue
0
Free

Project information

Budget
30 - 60 USD
Deadline
to 10 day(s)