OPEN-SOURCE SCRIPT

OBV Correlation Coefficient

Updated
Find the correlation between OBV and price.
Basically, they should be correlated, but sometimes they are inversely correlated (less than -0.4).
It was released because it seems to be in a phase for some reason.
When the inverse correlation is over, it is possible to think about how to buy and sell for the time being

OBVと価格との相関関係を求めます。
基本的には相関するはずなんですけど、たまに逆相関(-0.4以下)になっているときがあります。
何らかの理由で局面になっていそうなので公開しました。
逆相関が終わるときに売買という使い方がとりあえず考えられます
Release Notes
update: Added a mode to calculate correlation coefficient with cumulative volume
累積ボリュームとの相関係数を計算するモードを追加
correlationOscillatorsVolume

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer