I was talking about this indicator earlier this evening in Discord. I have been a big fan of the Elder Impulse System as developed by Alexander Elder. It gets you into trades at the right time and helps you to exit quickly when the trend slows down or changes. The Elder Impulse System combines trend following and momentum to identify tradable impulses. This unique indicator combination is color-coded into the price bars for easy reference.
I have included links to some more information about this indicator and system so you can get familiar with its interpretation:
input length = 13;
def EMA = MovAvgExponential(length=length)."AvgExp";
def MACDHist = MACDHistogram()."Diff";
def impulseSignal = if (EMA < EMA and MACDHist < MACDHist)
else if (EMA > EMA and MACDHist > MACDHist)
assignpriceColor(if impulseSignal == 1 then Color.Green else if impulseSignal == 0 then Color.Red else Color.Yellow);