Topic: Is it bug with Williams %R when running EA in MT4?
Hello guys,
I really appreciate the great work that Popov and everyone here does to make Forex Strategy builder better everyday.
I have been watching this forum for some time but recently started trying out the strategies creation myself from the software. Yesterday I created a strategy that showed a great potential and mainly utilises Williams %R indicator. I have attached the MQL herewith for you to have a look and confirm if this is a bug.
The MQL4 for expert adviser gets compiled without issues in MT4 but when this expert is ran for back testing Zero divide error is shown and it does not run.
I tried attaching this EA to live chart and although it runs and shows smiley after some time it reports the same error.
I also tried using alternative indicator in FSB called Amplified Williams %R but get the same error. I don't get this kind of error when using any other indicators so I guess I am not making any fundamental mistakes.
Can you have a look please?
Thanks
RK