OPEN-SOURCE SCRIPT

Bitcoin Production Cost Oscillator

Updated
For Trav,

Oscillator version of "Bitcoin Production Cost".

Based on raw data from CBECI.
Follow me to read more about the calculation logic.

Release Notes
Updated with January 2020 electricity data.
Release Notes
Updated with May 2020 electricity data from CBECI.org
Now uses 2 week rolling data for finer granularity (while balancing TradingView load time).
Uses 4c/kWh (lower end of CBECI and Coinshares global average Mining electrical cost estimates).
Release Notes
Updated with August 2020 electricity data from CBECI.org
Release Notes
Updated inputs
Release Notes
Updated input data
Release Notes
Updated energy values
Release Notes
Updated energy data
Release Notes
Updated data inputs
Release Notes
Sourcing
Release Notes
Sourcing update
Release Notes
Update to v5 pinescript and update of CBECI raw data inputs.
Release Notes
Updated data inputs
Bitcoin (Cryptocurrency)BTCCryptocurrencylossminerminingOscillatorsproductioncostprofitTrend Analysis

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?

Disclaimer