DepthHouse - Peak Divergence indicator uses the same linear regression calculation as my Peak Momentum Oscillator to help determine and plot peak momentum points.
These peak levels are then plotted by either red or green lines above or below the candle.
Red lines represent a peak in bear momentum while green represents peaks in bull momentum.
These levels are then used to determine momentum divergence in the displayed market.
If divergence is present the bars colors will change represent either bull or bear div.
Important Notes:
If the price crosses a peak line and the bar color does not change; it means momentum has increased/decreased with the price and the divergence has been canceled.
If divergence is present, and then the following candle is not colored then momentum has increased to cancel the previously present divergence.
By default, the look-back period is set to zero, which automatically calculates the distance for the peak levels to look-back. However this number can be set to whatever look-back period you would like.
At time of release this indicator is in its early stages. So please leave feedback on how it can be improved!