1 - 2 trades a day ea

Hello everybody

I am looking for someone to code an ea for me. Basically, the idea of my ea is to open pending orders at exactly the same time everyday. This is what I had in mind:
1 - At 00:00 everyday the ea would open both a buy and sell stop pending order.
2 - The pending orders will be set to 15pips above and below the opening price at midnight.
3 - The Stop loss for each Pending order will be set to 30pips each.
4 - The Take Profit for each Pending order will be set to 35pips each.
5 - Once an order has been entered and is now 20pips in profit, the SL will be re-adjusted to 10pips below/above the entry price (i.e 30 pips above/below the current price).
5 - Pending orders not taken are cancelled at 23:59.
6 - The Lot size traded will be 0.01 lots going up.

I would also like to the have the following external parameters which I could edit myself:
1 - Time pending orders are created;
2 - The difference in pips from the Opening price at midnight at which the Buy and Sell Stop orders are set
3 - The Stop loss and Take Profit values.

I was basically visually backtesting this system on the EUR/USD and it looks to be profitable. However I would like to backtest it using an ea to confirm whether it is really profitable or not. Also it will allow me to modify the parameters in the system so that I can find out which parameters yield the best result.

Also I was testing this system of placing Pending Orders at exactly the same time a day on different currency pairs, but I noticed that different parameters would need to be used for different pairs. That is why I would also like to have some of the variables as external variables.

I would really appreciate it if someone could code an ea for me here. I tried using those ea builders but I couldn’t find one which could help me out.

Hi! I can code it for you. Do you want also money management?

muchas gracia mediasoft!!! I would very much appreciate that. Err, what exactly do you have in mind for money management. My idea was to basically use the lot size to manage my risk and therefore use that for money management but I am open to any suggestions you have.

What i do is to calculate the lot size based on free margin, size of the stop loss and percent of the account risked on any trade.

I already have a mql4 function that does all that calculation and tells the EA How many lots to add to a trade.

Okay, I think that will be a good idea. Just as long as there is also an option to switch it on and off because from time to time I like to over-leverage.

Hi Mediasoft. I dont know if you have started working on the ea as of yet, but I am hoping that it is not too late to put in an additional request. I was hoping that you will be able to put in a Trailing Stop after the order has reached x amount of profit. E.g, once a 20pips profit has been reached then a trailing stop of 20 pips is then activated. This is to help filter out/minimise losses for when the order goes in one direction for a while and then changes direction all of a sudden.

Hi all,

sorry for my bad englisch. I’am looking for exact the EA from this threat.
@mediasoft: Did you build the EA? If yes, would you please share it with me for testing?

Thanks very much in advance!

Doltalu

No, I didn’t build it yet, I’m very busy on my work :frowning: