pmk07

SR vs Volume

The main idea is that the volume confirms the price.
Volume part is based on the Volume with Direction indicator, but modified - now: 1) it is not restricted by length and uses all available data 2) it absolute, not relative.
The SR part is also based on identifying high/low/higherhigh/lowerlow. On price it uses wicks.
Then script trying to predict possible divergencies.
It "predicts" because it is using not confirmed HH and LL: for example, any high over resistance counts as HH.
SR plotting is available in options.
Scrypt plots dots:
hidden bear div =color.orange
hidden bull div =color.lime
bear_div =color.maroon
bull_div =color.green
Because of using unconfirmed HHLL states this dots is early signals, needs to be manually verified.
By standard only first dot of signal plots, plotting of signal tails is available in options.

Commentary for the screenshot.
Green dots pointed by arrows is signaling for bull div, it confirms on VD indicator bellow.
The first pointed (lower) maroon dot is faked because of VD indicator not confirmed HL. This have no tails as it was invalidated on the next candle.
The second pointed (upper) maroon dot is bear div: HH by price and LH by volume.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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?