OPEN-SOURCE SCRIPT
Updated

Not really a CVD

9369
This is not really a CVD, more like an experiment.

Because we don't have access to bid or ask volume for BTCUSD/XBTUSD, we can't really make a CVD.
So this one instead is based on the 1 min timeframe. When the 1 min candle is up/green, the volume is positive, but when the candle is down/red, the volume is negative.

An other point is that the "security" function used in the script have an approx max history of 137 days for the 1 min timeframe.

This script is very simple but if you have any questions, feel free to ask.
Release Notes
- You can now select the resolution on which you want to base the calculation. 1min is the default value. The higher the timeframe, the lower is the precision but the longer is the history,
Release Notes
- minor changes
Release Notes
- Change demo timeframe for convenience

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.