Bitcoin Production Cost Oscillator

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

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.


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?