@Ace_Trader posted this scanner for the MACD Divergence indicator in our chatroom. I thought it was really cool and worth saving. Here is the code to put into your scanner.
It will be in the form of a Watchlist. That way you can easily have it on the left column and have an eye out for new divergences being formed.
Bearish MACD Divergence
YouTube Tutorial
It will be in the form of a Watchlist. That way you can easily have it on the left column and have an eye out for new divergences being formed.

MACD Divergence Scanner
Bullish MACD Divergence
Rich (BB code):
MACD_Divergence_2019()."pivotLow" is true within 6 bars
Bearish MACD Divergence
Rich (BB code):
MACD_Divergence_2019()."PlotHline" is true within 6 bars
YouTube Tutorial
Last edited: