The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400)) and this was one of his earliest indicators that functions as a momentum indicator . Buy when the indicator line is green and sell when it is red.
Let me know if you would like to see me publish more scripts or if you want something custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.