This script automatically calculates the divergence between your favorite exponential moving average and the current price (13 ema default).
Additionally, it displays the area in yellow once the first threshold gets reached (1.5% divergence default) and in red once the second threshold gets reached (1.5% divergence default).
Added the $ value instead of the percentage into the visual pane (now default value) and version with absolute values (now default) doesn't plot the negative bands.
Default mode back to percentage. First threshold default to 1.5% and second to 2.75% divergence.