Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.
I have tested it and it appears to be incorrect. since i don't know the lua language well enough i probably can't offer much help. I will take a look at the code anyway to see if something pops out at me.