Previous day breakout

 

Hello!

Can somebody help to make EA for this strategy...

Open long if current candle breaks previous candle high for 5 pips and go short if current canlde breaks previous low for 1 pip.

This works great on gbp/usd daily chart.

Thanks...

 

hi

I believe there is already a similiar strategy EA here

https://www.mql5.com/en/forum/174262

check it out

el cid

 
 
newdigital:
Or this thread https://www.mql5.com/en/forum/173441

This EA is not what i need. I need it to open just on the break of the previous bar, without any range calculations.

Does anybody wave something like this?

 

I had this one written last year. It is profitable on cable. Never ran it on live account. Just sits there on my HD doing nothing, so it might as well make you a millionaire .

Enjoy.

Files:
 
delsule:
I had this one written last year. It is profitable on cable. Never ran it on live account. Just sits there on my HD doing nothing, so it might as well make you a millionaire . Enjoy.

Thanks a lot man

 
Files:
breakout.mq4  10 kb
Reason: