Rush Mt4 Ea Tool Programming
I’ve got a rush job and looking for someone who can get this done by the market open tomorrow.
I’ve been testing a hedging strategy and the manual orders are getting a little dedious. This should be pretty simple EA for any experienced programmer.
I need an EA that simultaneouly opens a BUY and SELL order at the same price when started.
These orders need identical stops/take profits that are based off of a spread factor:
Spread factor is equal to 2 X the spread of the currency (spread factor is always calculated this way)
Example: EURUSD spread = 2 pips / Spread factor = 4 pips
GBPUSD spread = 3 pips / Spread factor = 6 pips
Okay, now the EA needs to calculate the stop-loss using an adjustable multiple of the spread factor. Both orders have the same value stop-loss.
Example: EURUSD spread factor = 4 pips
Stop-loss multiple = 2
Stop-loss = 4 pips X multiple of 2 = 8 pip stop-loss
The EA needs to calculate the take profits using an adjustable multiple of the spread spread and then add one additional pip to that number. Both orders have the same value take-profit.
Example: EURUSD spread factor = 4 pips
Take profit multiple = 2
Take profit = 4 pips X multiple of 2 + 1 pip = 9 pip take profit
Additional note, my broker is 5 digit broker, so when I say 1 pip, I’m actually referring to the fourth decimal (however that works for programing).
When both trades have closed, the EA reopens the hedged position just as described above.
Money management will be a fixed lot number.
Pretty simple…let me know if you have questions.


