arwan_sinum

Correlation of Price Spread and Volume

arwan_sinum Updated   
Correlation between candle's price spread (length of candle of each bar) and volume.

Generally, increases in volume precede significant price movements. However, If the price is rising in an uptrend but the volume is reducing, it may show that there’s little interest in the instrument, and the price may reverse.

The closer the correlation is to 1.0, indicates the instruments will move up and down together as it is expected with volume and price spread. So the correlation Indicator aims to display when the price spread and volume is in correlation and not. Blue color represent positive correlation while orange negative correlation. The strength of the correlation is determined by the width of the bands.
Release Notes:
Added horizontal lines to indicate the strength of the correlation (default 0.2).
Release Notes:
Updated the title
Release Notes:
Fix the algorithm
Release Notes:
Added yellow line for the correlation with the user-selected instrument.
Release Notes:
Changed the default length parameter
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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?