This is a 1 bar momentum using a regularized ema (Chris Satchwell, Pattern Recognition And Trading Decisions pag.192) with a limit lambda (John F. Ehlers Cybernetic Analysis for Stocks and Futures pag.188), some say that is better than macd.
Regularized Exponential Moving Average indicator script based on the original version by Chris Satchwell