Yukiioz

Not really a CVD

Yukiioz Updated   
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

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?