OPEN-SOURCE SCRIPT

Bitcoin Production Cost

By cyatophilum
Updated
First inspired by the amazing capriole_charles, I decided to create my own version of calculating the Bitcoin production cost and to share it with you guys.

One of the main difference is the electricity cost calculation. I used a country-specific input system that calculates the weighted electricity cost leveraged by the distribution of the Bitcoin network hashrate. I like the fact that it requires little updating although it is less realistic for past calculations (further in the past production costs seems too low).

How to use:
- Add the indicator to your chart.
- Adjust the inputs if needed. Update the percentage of Bitcoin network Hashrate or electricity Cost per countries. Update the mining hardware stats to the most recent hardware. For example I used a Bitcoin Miner S21 Pro stats.
- Check the multiple variables in the data window.
- Turn on/off the halving event in the style tab


Release Notes
Added bitcoin transaction fees data into the calculation.
CyclesFundamental Analysissentiment
cyatophilum
🔥Get the Cyatophilum Indicators today and automate them on Binance! => blockchainfiesta.com/strategies/

Discord Server: discord.gg/RVwBkpnQzm

I am taking PineScript Commissions ✔
=> blockchainfiesta.com/contact/

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