Time Range Breakout ea? Need Help

 

Hi all.

I need a simple indicator that open a position if the price break the value of the high or low of specified time range plus customizable pips.

Attached there is an indicator that plot the lines i need but if you have better indicator there are no problem.

It is possible to create an ea that open position on breakout of this lines? It must open only o trade per day, so if the price breake first the low line and if eventually the price pullback and break also the upper line it must not open the trade.

The external variable would be:

Pips Offset from line

Lots

TP

SL

Hope you can help me.

Thank you

ps. I can't upload file. However the indicator that plot box line can be found in this post Daily Boxes/Lines indicator @ Forex Factory

 

Hi dasio,

There are some similar threads with some EAs which can be modified up to your idea for example:

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

and

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

 
newdigital:
Hi dasio,

There are some similar threads with some EAs which can be modified up to your idea for example:

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

and

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

Thank you newdigital.

I saw the post but i'm very neewbie with the code. I don't know how modify the ea

 

I am not a coder too.

I posted those links just having the hope that some coder will look at it (because it is much easier to modify EA/indicator than to create it from raw idea for example).

Reason: