OPEN-SOURCE SCRIPT
Updated Bitcoin Production Cost

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
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. Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
🔥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/
Discord Server: discord.gg/RVwBkpnQzm
I am taking PineScript Commissions ✔
=> blockchainfiesta.com/contact/
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
🔥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/
Discord Server: discord.gg/RVwBkpnQzm
I am taking PineScript Commissions ✔
=> blockchainfiesta.com/contact/
Disclaimer
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.