Get the source here: http://pastebin.com/GAHfP9AD
Installation video by @ChrisMoody here : http://vimeopro.com/user14689865/tradingviewcom-how-to-videos
After I got done coding this, I saw that https://www.tradingview.com/u/TheLark/ had already coded the same indicator. Small differences, but same indicator, just want to give credit to a line leader.
and change it to color=white !