Bitcoin/Hash Rate Oscillator & MA

What it does:
Finds the ratio of BTC price to the Hash Rate with an additional MA applied to find changes in volatility with relative context. Best used as a two lines cross indicator.

When the ratio of price to hashrate increases, it may be a sign miners cannot or will not sell as much.

When the ratio decreases, it may indicate miners have more capability and/or incentive to sell.

How it works:
The indicator uses a MA applied to the hashrate(first MA input), then finds the difference between it and the actual hash rate. Then it finds the STD of that to create an oscillating value. BTC is divided by said value. Then a second MA is applied to that ratio(second MA input)
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.

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?