OPEN-SOURCE SCRIPT

Not really a CVD

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
Bitcoin (Cryptocurrency)CVDVolume

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