Build break and retest LOGIC of support or resistance zone

 

Hi fellows,

I am new to mql5 and trading boots but an experienced programmer.

I wanna build a trading boot which recognize a break and retest of support or resistance line.

The line is known by the bot, it will be a price given a parameter for the bot.

The only thing the bot has to do is to recognize if on this line the break and retest pattern happens and send a trade.


How I could develop the logic to recognize such a pattern or are there any article or helper classes which can do that for me?

Would be glad for any hint or ressource.


Thanks!

Reason: