Hi Guys,
I found this explanation and idea on mql5 website
........................................................................................
But unfortunately the indicator does not work so well. It would be nice if someone can code it correctly. I am postig here the ex4 file as I couldnt find the mq4 file. Also the author there does not respond to the request of correcting the indicator, so maybe there is no harm if someone here can code it properly.