I’m looking for someone who can write an EA based on a breakout of the last high or low fractal.
As you can see in the chart I just want an EA that will buy or sell a breakout of either of those levels.
I’ve back tested this method on EUR/USD 5 min. charts and it’s successful but it would be easier and faster if there was an EA to use.
So if any one is a programmer and wants to help me out I’d appreciate it. Also do any programmers or anyone else know how difficult it would be to write an EA like this?
Also if anyone out there tries to program something can you make it so the Stop Loss is at the other line or fractal.
For example in the chart in the first post if you went long at the blue line, you’d have the stop loss at the red line and then if you’re stop loss gets hit you’d enter a trade in the other direction.
I have a question about copying and pasting it. When I go to meta editor and click new, then expert advisor, the screen comes up saying to name the EA and then it has a parameters window where you can add parameters. Do I copy and paste it into there or do I leave that blank and then copy and paste on next page.
I left it blank and copy and pasted it in the EA window and it came up with bunch of errors. I’m not sure if you have to copy and paste it all in the same area or something.
Can you or anyone else who knows how to do it either copy and paste it and load the EA in MT4 or tell me how to copy and paste it myself? Sorry if that’s a stupid question I just can’t figure it out.
Thanks for trying to help me though, I really appreciate it.
cmac813
Thanks for the EA. I use Forex.com and they identify their currency pairs followed by FXF ie. EURUSDFXF. In the code I noticed all currency identifiers as having EURUSD and EURUSDm. Do I add the FXF suffix to both to end up with EURUSDFXF and EURUSDFXFm. If you could also let me know what the lowercase m is for that would also be very helpful. I am new to the language.
Thanks for those instructions Doc, I got the EA working. However it seems to trade the opposite of what I’d be trading. I’m trading the breakout and your EA trades the bounce off the fractal high/low. I’ve looked at trading similar to this except waiting for a few more bars. Also I’m looking to day trade this way on the 5 min. chart as well as longer term charts. I’ll keep testing your EA though to see how it works out. Thanks for all your input.