PeakFox

OBV with Volume/Momentum Divergence

Credits go to vyperphi696 and LazyBear for the original OBV with Divergence script.

This indicator has the new option to check for momentum divergence, which I have done by adding RSI and MACD data.
Hence the indicator allows combined testing of volume and momentum divergence. This feature aims to improve trend reversal detection by reducing false positives.

In summary, 3 divergence categories are shown by default as lines:
  • Volume + RSI + MACD (dark green/red)
  • Volume + RSI / Volume + MACD (light green/red)
  • Volume (gray)

Line colors can be adjusted via plot settings. Therefore it is also possible to distinguish Volume + RSI and Volume + MACD divergence if necessary.

Lastly, I edited the indicator scaling mechanism when changing from one timeframe to another; the transitions are smoother now. This only applies when auto-scaling is off.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?