Just the macd not using the raw difference between the 12 and 26 ema for the macd. Instead It calculates the difference in %. Histogram and signal are also derived from the macd line. Also added 2 horizontal lines, you can modify. Feel free to use and copy the code. I also copied the source code from tradingview public script, thanks to the one who made it.