CF
Check this out https://www.mql5.com/en/code/9347
Should do the job, maybe with some tweaking
Good Luck
-BB-
I need an EA that will allow me to trade comsolidation ranges. The way it would work is:
I set a high and low range. once the market has a candle open above or below that range, it enters the market to head in the direction of the breakout. it would also need to put the stop on the other side of the breakout plus a 5-10 pip fudge factor.
Example: AUDJPY, we got a candle open below my low of 81.49. The EA would put me in on a sell putting my stop at my resistance of 81.96 plus say 5 pips.
I used to have an EA that would get me in once a certain number is breached, but i realized I got a lot of fakey's trading that way. When I have a candle open outside of my range, price action make the move more committed.
Please help. I know its an easy one to write. I attached a photo of the trades showing how i trade it.
see private message
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I need an EA that will allow me to trade comsolidation ranges. The way it would work is:
I set a high and low range. once the market has a candle open above or below that range, it enters the market to head in the direction of the breakout. it would also need to put the stop on the other side of the breakout plus a 5-10 pip fudge factor.
Example: AUDJPY, we got a candle open below my low of 81.49. The EA would put me in on a sell putting my stop at my resistance of 81.96 plus say 5 pips.
I used to have an EA that would get me in once a certain number is breached, but i realized I got a lot of fakey's trading that way. When I have a candle open outside of my range, price action make the move more committed.
Please help. I know its an easy one to write. I attached a photo of the trades showing how i trade it.![](https://c.mql5.com/mql4/forum/2009/12/audjpy_small.jpg)