Hi guys, Im sorry to bother you with a request for an EA but im really struggling to get some insight on how to code these. I have tried to edit existing EA's, for example the Straddle EA to get this but apparently I'm a bit thick...
I'm hoping this EA will also help me learn to code somewhat as well.
I would like an EA that does the following:
Stage 1: At a preferred time, for example 23:00, create a buy or sell order(1) depending on the direction of the candle. So if its a bullish candle do a buy and vice versa. You should be able to set TP and SL for this order but SL should be optional. If there are already orders active then do nothing since Stage 2 should take care of that.
Stage 2. If SL is hit for order1 a reverse order(2) is then created. This should also have optional TP and SL levels.
If SL is hit again for this one then reverse again, and again and again...well you get the idea..
If the TP is hit wait until next time clock strikes 23:00 to run 1 again.
That's about it , I hope I did not confuse you as much as I was when typing this...
Anyway if someone could have mercy on a poor forextrader and code this EA I would be eternally grateful. Hey, who knows..If you put in some comments in the code i might even learn something...
I'm hoping this EA will also help me learn to code somewhat as well.
I would like an EA that does the following:
Stage 1: At a preferred time, for example 23:00, create a buy or sell order(1) depending on the direction of the candle. So if its a bullish candle do a buy and vice versa. You should be able to set TP and SL for this order but SL should be optional. If there are already orders active then do nothing since Stage 2 should take care of that.
Stage 2. If SL is hit for order1 a reverse order(2) is then created. This should also have optional TP and SL levels.
If SL is hit again for this one then reverse again, and again and again...well you get the idea..
If the TP is hit wait until next time clock strikes 23:00 to run 1 again.
That's about it , I hope I did not confuse you as much as I was when typing this...
Anyway if someone could have mercy on a poor forextrader and code this EA I would be eternally grateful. Hey, who knows..If you put in some comments in the code i might even learn something...
Liberate me ex inferis