Specification
Good Day
I found the Gap EA on MQL5. I want to use it as the base for my profitable manual Gap strategy. I have attached the EA and below are the specs for the EA. I will require the source code and the EA must run in the MT4 strategy tester.
Gap Trade EA Spec
EA to trade the Sunday Gap on market opening. Require EA to trade both binary and Forex/Spread betting. EA must be fast. EA must work on MT4 and MT5 platforms.
Logic
1. Identify the gap
a. Gap = Difference between Sunday open and Friday close
2. Gap must be valid to trade
a. Valid Gap = (Sunday Open Price – Friday Close – Spread) > 30 pips
3. Place trade in direction of Friday closing price
4. TP is 70% of Gap width (must be customisable)
a. Open price = 0%
b. Friday Close = 100%
c. TP = 70%
5. Stop Loss = Open Price + 20 pips
a. Needs to be customisable
6. EA must run on all open pairs
7. EA must place trades in order of biggest gap to smallest gap
a. Number of trades depends on money management rules
i. Only trade set % of account
ii. Divide set % by trade size = no of trades
1. Cannot be more that set %
8. EA must place binary trades
a. Need option to enter trade value
b. Need option to set time of trade (5min, 15 min etc)
c. I trade Go Markets Australia. EA must work though FX Lite for MT4
d. EA must work on 4 and 5 decimal place brokers
9. Forex Trades
a. Use rule in no. 7
b. Always trade from biggest gap to smallest gap
10. Need option to select whether trading binary or forex
11. I will require the source code
12. The EA must run in the MT4 strategy tester
Questions:
1. Would I need all the charts for all pairs to be traded to be open?
2. Would a script be faster to execute that an EA?