SL changer at given time + return the SL at given time.

MQL4 Experts Scripts

Spécifications

I need a simple MT4 EA that increases SL for every open trade at given "Start Time" time + returns original SL values after given "End Time" time.

 

My suggestion parameters needed. 

Enable = True / False
Start Time = xx:xx (default 23:57)
End Time = xx:xx (default 00:15)

SL change = xxx (default 100 points)

 

Example:   at 23:57 with SL 100
Trade 1234 Buy EUR/USD SL 1.06100 -> SL 1.06000 (save original SL value so we can return it later)

Trade 2345 SELL GBP/USD SL 1.22000 -> SL 122100 (save original SL value so we can return it later)

 

at 00:15 if trade still exist
Trade 1234 Buy EUR/USD SL 1.06000 -> SL 1.06100

Trade 2345 SELL GBP/USD SL 1.22100 -> SL 122000

If there is other trades opened after 23:57 do not touch them. If trade is closed just move to next trade. 

Important when returning value is to use trades saved SL value. Do NOT to calculate 100 points from 00:15 SL value as user/other EA might have changed it during 23:57-00:15

Répondu

1
Développeur 1
Évaluation
(117)
Projets
138
41%
Arbitrage
30
7% / 77%
En retard
17
12%
Gratuit
2
Développeur 2
Évaluation
(365)
Projets
507
40%
Arbitrage
159
17% / 74%
En retard
99
20%
Chargé
3
Développeur 3
Évaluation
(97)
Projets
121
25%
Arbitrage
5
20% / 60%
En retard
17
14%
Gratuit
4
Développeur 4
Évaluation
(39)
Projets
44
16%
Arbitrage
1
100% / 0%
En retard
7
16%
Gratuit

Informations sur le projet

Budget
10- USD
Délais
à 1 jour(s)