This is a script based on PVT + Signal Line, which can be EMA or SMA. It then plots a histogram which is equal to PVT - Signal. This makes it easier to spot divergences. To better match up the scales, we decided to add a multiplication factor to the histogram. Each asset and even timeframe requires a different multiplication factor, so please experiment to find what suits you.
Credits and special thanks are listed on the source code.