Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
Hello,
I looking for an Weekend Hedge EA which ist Xminutes before closing Hedging the Positions or if there are long and short possisions in an currency just the overhang.
Hedgin- EA should only Hedge overhang of each currency
Paramter:
Xminutes before closing: Jusing server Time of broker example 2min
EA should work on every currency
Closing Possibilities:
1. Closing all Hedge Positions opend by EA after market Opening
2. Closing all Hedge Position in profit after Market opening and place than TP and SL for loss position
+ unvisel TP - for Loss positions - If the loss positions after opening (from opening Price) are xpips in Profit - do close position.
TP
SL
+ TP after Opening unvisebel - example 30 pips - so if position after Opening goes 30 pips positiv - Order should be closed by market.
So loss orders in function 2 are closed by TP, SL or unvisebel TP after opening!
I need following 2 Funktions for do not opening Trades!
Example: Friday from 00:00 to 05:00 do not open any trades
Parameter:
Monday - 00:00 to 05:00 - in specific Time EA should not open any trades!
Thursday - 00:00 to 05:00 - in specific Time EA should not open any trades!
and so on for all Trading days