Hello guys
Im having trouble on how to start building this EA. In fact what I need the EA to do is:
1 - I will open a trade manually such a buy with 0.01 lots. For example EURUSD at 1.3250
2 - The EA will set the TP to 20pips and SL to 40pips.
3 - Once the trade is open and TP and SL are defined, the EA must put a Sell stop order (pending) with 0.03 lots at 1.3230 with 20pips on TP and 40pips on SL.
4 - If the price goes down and activate the pending order, the EA must put a Buy Stop order (pending) with 0.06 lots at 1.3250, and again with 20pips on TP and 40pips on SL.
5 - This will go on untill TP and SL are hit.
The lots are going to double from the last pending order. Except the first pending order that will have 3x the lot size of the trade I manually open.
Don't know if I was clear enough
Can someone help me through this?
Thanks