Note: Though the example here with NVDA shows good reversal predictions, best results generally are optained with un-normalized indicators and oscilators like CB#s comosite index.
(For Trading view written by LazyBear.) I use two different lines: an indi high line for baerish, and an indi low line for divergences.
The script only shows divergences to pairs next to each other, not between actual and those "a few ago"
For individual work, chose your indicator and replace in line 10 with it, anything else is auto. Sript bottom: optional comparison lines addable.