Williams %R Divergence

 

Hello guys,

I have some years of programming knowledge in different languages, but i am really new in MQL5.

To automate a strategy I am working profitable with since 1 year +, I need some functions, which I dont know how to start with.


I hope you can help me.


Basically its simple...

There has to be a divergence from the Previous daily low, to the Current day low, but the Williams %R has to be under -75% to call it a current daily low.

If it is like that we have to open a buy order.


Can you help me with it?

 

Search the CodeBase for something similar or anything that you can use as a starting point to learn from. Then gradually modify the code, while referring the documentation, until it does what you want.