OPEN-SOURCE SCRIPT

Bitcoin Relative Value Indicator

This script retrieves the close price data for Bitcoin, DXY, CPIAUCSL, M2 money supply, and SPX and calculates the average of the four data points. It then calculates the relative value of Bitcoin by dividing the Bitcoin close price by the average of the four data points. The script determines whether the relative value is increasing or decreasing and plots the relative value on the chart using a green line if it's increasing and a red line if it's decreasing.
educational

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