oh92

DepthHouse - Peak Divergence

oh92 Updated   
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!
Release Notes:
⤫ Version 2.0 update ⤫

⤷ New Primary and Secondary Peak Options
⥱ Primary displayed by thicker lines
⥱ Secondary displayed by thinner lines
⤷ Altered bar color divergence calculation
⤷ Easily turn secondary peak on or off
⤷ Easily turn bar-color divergence on or off

Creator of DepthHouse Indicators on TradingView!
depthhouse.com/
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact oh92 for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.