I need to have an expert advisor (EA) developed that I can use on the MetaTrader 4 trading platform. The EA will need to be programmed using MQL programming language and I need the EA to be fully functional. What I require the EA to do is as follows:
- The Expert Advisor (EA) will be used on the EUR/USD and GBP/USD currencies only and I will be using 5-minute bar charts.
- The EA must monitor both currencies for the first 5 hours of the London Trading session (from 8am GMT to 1pm GMT) and also the first 5 hours of the New York Trading session (from 8am EST to 1pm EST).
- The EA must record the HIGH and LOW values of the opening 5-minute candle for each of the 5 hour periods in both trading sessions. These HIGH and LOW values must be emailed to me as soon as the first 5-minute candle closes (e.g. for the first hour of the London session i must receive an email at 8:05am GMT or just after telling me what the HIGH and LOW values of the 8:00am GMT candle were. This process will repeat every hour for the first 5 hours of each trading session.)
- Once I have received the email data with the HIGH and LOW values of the opening candle of each hour, I also need the EA to monitor whether there is a breakout either above the HIGH of the opening candle or below the LOW of the opening candle WITHIN THAT SPECIFIC HOUR. Therefore if the price at any time goes above the HIGH of the opening candle (within that hour) I need to receive an email immediately when this happens. Similarly if the price drops below the LOW of the opening candle of the hour at any time within that hour then I also need to receive an email immediately when this happens.
- This process needs to happen every hour for the first 5 hours of the London Trading session (i.e. from 8am GMT to 1pm GMT) and also for the first 5 hours of the New York session (i.e. from 8am EST to 1pm EST).