I need a relatively simple EA coded.
At a set start time, the EA should draw a break out box (i.e. 0800 London open). 10 pips above and 10 pips below the 0800 open price. When the price breaks out of the top of the box, enter a buy trade risking 1% of account balance. If the price breaks out of the bottom of the box enter sell trade.
The stop loss is always the opposite side of the box.
The EA should also function as a stop and reverse so if we are in a buy trade and the price reverses and hits the stop loss on the opposite side of the break out box, the buy trade is closed for a loss and instantly a new sell trade is opened with a stop loss on the opposite side of the box.
The trade should close at a set time such as 1700 hours.
Variables that I should be able to adjust in the settings:
Adjust the size of the break out box, for example I should be able to set it for 10 pips below the open time price and 12 pips above. Any pip value I choose.
Adjust the open start time for when the breakout box is drawn, for example 0300 or 0800. Any time I choose.
Adjust the end time when to close the trade.
Adjust the risk percent per trade. By default it should be exactly 1% of the account balance and must account for the different pip values for different trades.
Adjust number of times to re-enter as a stop and reverse. So I may set it to only trade one break out, or I may set it to 2 (1 buy and 1 sell) or any number I like in case the prices swings back and forth all day breaking out of the top and bottom of the box repeatedly.
This should be a quite straight forward project to code with not too many complicated functions.
I will need this finished ASAP.
Hi James, Hope that you are well. I've read the spec and I can probably develop the EA within couple of days. Please feel free to pm me to dicuss your project. Regards, Avi