xinolia

OBV Correlation Coefficient

xinolia 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
累積ボリュームとの相関係数を計算するモードを追加

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?