Now for MT4 ! (as I know lot of you guys still use MT4)
remember if you want same output as Mladen's orginal indicator you need to select PRICE_LOW in the "price" setting
this is the beauty of publishing codes, anybody can verify it, fix it eventually and port it on platforms that would not be available otherwise...
I hope there are no errors in code I verified with identical price action from original on MT5 that both outputs are the same, in the strategy tester or on the chart so it should be good.
if you find anything please let me know i'll fix it ASAP