Bitcoin Fundamentals - Bitcoin Block RewardThe Bitcoin Block Reward is the batch of new Bitcoins generated by the miners after solving each block.
The Block Reward is set as a basic rule and cannot be changed without agreement between the entire Bitcoin network. It started at 50 BTC during the first period. Afterwards the Block Reward gets adjusted to half of it value (Halving Event) on each cycle of 210000 blocks mined.
This is the only way that new bitcoins are created. It creates an incentive for miners to secure the network.
Over time the Block Reward will decreases to a value that might not cover the mining costs. At that point, the use of the Bitcoin Network might have increased sufficiently as to generate enough transaction fees to cover the mining costs.
MOTIVATION
Even though this is a very simple indicator, I'm currently missing a data source to compute the Block Reward value within Tradingview. Therefore, I created this indicator and its associated library function to enable its visualization and (eventually) for coders to make use of the source function to power more elaborate scripts related to the Halving Events.
Hope that helps!
Mining
Blockunity Miners Synthesis (BMS)Track the status of Bitcoin and Ethereum Miners' Netflows and their asset reserves.
The Idea
The goal is to provide a simple tool for visualizing the changes in miners' flows and reserves.
How to Use
Analysing the behaviour of miners enables you to detect long-term opportunities, in particular with the state of reserves, but also in the shorter term with the visualization of Netflows.
Elements
Miners Reserves
Miners Reserves represent the balances of addresses belonging to mining pools (in BTC or ETH).
This data can also be displayed in USD via the indicator parameters:
Miners Netflow
The Netflow is calculated by subtracting the outflows from the inflows originating from addresses associated with mining pools. When this result is negative, it indicates that more funds are exiting the miners' accounts than the funds they are receiving. Consequently, negative miner netflows suggests selling activity.
This data can also be displayed in USD via the indicator parameters. You can also choose the timeframe. For example, selecting "Yearly" will give a Netflow daily average taking into account the last 365 days:
Settings
In the settings, you can first choose which asset to view, between Bitcoin and Ethereum. Here are the reserves of Ethereum miners:
As with Bitcoin, Netflow can also be displayed in the timeframe of your choice. Here you can see the average daily netflow of Ethereum miners in USD over the last 30 days:
Here are all the parameters:
Asset Selector: Choose between Bitcoin or Ethereum miner data.
Get values in USD: Displays values in USD instead of assets.
Switch between Netflow and Reserve : If checked, displays Miners' Reserves data. If unchecked, displays Miners' Netflow data.
Display timeframe: Allows you to select the timeframe for displaying the Netflow plot.
Period Lookback (in days): Select the period to be taken into account when calculating the variation percentage of Miners' Reserves.
Lastly, you can modify all table and labels parameters.
Bitcoin Miner Extreme SellingThis script is for identifying extreme selling. Judging by the chart, Bitcoin miners often (not always) sell hard for two reasons: to take profit into parabolic price rises, or to stay solvent when the price is very low.
Extreme selling thus often coincides with long-term tops and bottoms in Bitcoin price. This can be a useful EXTRA data point when trying to time long-term Bitcoin spot or crypto equity investment (NOT advice, you remain responsible, etc). The difference between selling measured in BTC and in USD gives a reasonable idea of whether miners are selling to make a profit or to stay solvent.
CREDITS
The idea for using the ratio of miner outflows to reserves comes from the "Bitcoin Miner Sell Pressure" script by the pioneering capriole_charles.
The two request.security calls are identical. Another similarity is that you have to sum the outflows to make it make sense. But it doesn't make much difference, it turns out from testing, to use an average of the reserves, so I didn't. All other code is different.
The script from capriole_charles uses Bollinger bands to highlight periods when sell pressure is high, uses a rolling 30-day sum, and only uses the BTC metrics.
My script uses a configurable 2-6 week rolling sum (there's nothing magical about one month), uses different calculations, and uses BTC, USD, and composite metrics.
INPUTS
Rolling Time Basis : Determines how much data is rolled up. At the lowest level, daily data is too volatile. If you choose, e.g., 1 week, then the indicator displays the relative selling on a weekly basis. Longer time periods, obviously, are smoother but delayed, while shorter time periods are more reactive. There is no "real" time period, only an explicit interpretation.
Show Data > Outflows : Displays the relative selling data, along with a long-term moving average. You might use this option if you want to compare the "real" heights of peaks across history.
Show Data > Delta (the default): Only the difference between the relative selling and the long-term moving average is displayed, along with an average of *that*. This is more signal and less noise.
Base Currency : Configure whether the calculations use BTC or USD as the metric. This setting doesn't use the BTC price at all; it switches the data requested from INTOTHEBLOCK.
If you choose Composite (the default), the script combines BTC and USD together in a relative way (you can't simply add them, as USD is a much bigger absolute value).
In Composite mode, the peaks are coloured red if BTC selling is higher than USD, which usually indicates forced selling, and green if USD is higher, which usually indicates profit-taking. This categorisation is not perfectly accurate but it is interesting insomuch as it is derived from block data and not Bitcoin price.
In BTC or USD mode, a gradient is used to give a rough visual idea of how far from the average the current value is, and to make it look pretty.
USAGE NOTES
Because of the long-term moving averages, the length of the chart does make a difference. I recommend running the script on the longest Bitcoin chart, ticker BLX.
To use it to compare selling with pivots in crypto equities, use a split chart: one BLX with the indicator applied, and one with the equity of your choice. Sync Interval, Crosshair, Time, and Date Range, but not Symbol.
Bitcoin Miner Sell PressureBitcoin miners are in pain and now (November 2022) selling more than they have in almost 5 years!
Introducing: Bitcoin Miner Sell Pressure.
A free, open-source indicator which tracks on-chain data to highlight when Bitcoin miners are selling more of their reserves than usual.
The indicator tracks the ratio of on-chain miner Bitcoin outflows to miner Bitcoin reserves.
- Higher = more selling than usual
- Lower = less selling than usual
- Red = extraordinary sell pressure
Today , it's red.
What can we see now ?
Miners are not great at treasury management. They tend to sell most when they are losing money (like today). But there have been times when they sold well into high profit, such as into the 2017 $20K top and in early 2021 when Bitcoin breached $40K.
Bitcoin Miner Sell Pressure identifies industry stress, excess and miner capitulation.
Unsurprisingly, there is a high correlation with Bitcoin Production Cost; giving strong confluence to both.
In some instances, BMSP spots capitulation before Hash Ribbons. Such as today!
BTC Miner Netflows with smoothingBTC Miner Netflows with smoothing - shows the difference between Miner Inflow and Miner Outflow.
Miner income, sales as well as holdings, are generally considered to have a huge market impact, by analyzing miner Netflows, users can gauge if overall miners are accumulating or selling; high positive values point to accumulation, while negative numbers indicate net selling.
Data queried from IntoTheBlock.
BTC Hashrate ribbonsBTC Hash Rate ribbons / Hash Rate cross
This strategy goes long when BTCs Hash Rate 30 day moving average crosses above the 60 day moving average, signifying that miner capitulation is over and recovery has started.
When the opposite signal is given, which signifies the beginning of miner capitulation, the strategy goes short (or flat, depending on configuration). This is generally considered the most popular Hash Rate related strategy.
The strategy is based on this medium article: medium.com
Thanks to the recent integration of IntoTheBlock data into Tradingview, we can now effortlessly show Hash Rate data on our chart,
keep in mind however, that IntoTheBlock doesn't provide Hash Rate data on timeframes below daily, so this strategy is based used on the daily, weekly or even monthly time frames.
Hash Rate definition:
The Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network. The hash rate is an indicator of how healthy the Bitcoin network is at any given time, and is driven primarily by difficulty mining and the number of miners. Generally, a high hash rate is considered a good thing.
More precisely, the Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network.
BTC Hashrate with smoothingBTC Hashrate with smoothing - thanks to the recent integration of IntoTheBlock data into Tradingview, we can now effortlessly show Hashrate data on our chart.
One popular use for Hashrate is to buy when the 30 day moving average crosses above the 60 day moving average, signifying that miner capitulation is over and recovery has started.
Definition
The Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network. The hash rate is an indicator of how healthy the Bitcoin network is at any given time, and is driven primarily by difficulty mining and the number of miners. Generally, a high hash rate is considered a good thing.
More precisely, the Bitcoin hash rate is the number of times per second that computers on the Bitcoin network are hashing data to verify transactions and perform the encryption that secures the network.
Blockchain Fundamentals: Electricity Cost of BTC [CR] Blockchain Fundamentals: Electricity Cost of BTC
After a hiatus, now a return to publishing tools and scripts for the community. This is my first script in over and year, and I have a number more coming soon as well! (so Stay Tuned!)
This is a simple calculator to estimate the cost of Bitcoin miners to mine one bitcoin. It works on all timeframes (doesnt have to be on daily).
By entering the inputs of total TH's, kWh used, cost of electricity per kWh (in USD cents) we can generate the electricity cost.
But miners also have other costs of operation including HVAC, maintenance, rent, etc. In light of that we include a multiplier that accounts for these extra costs. First, type in what percent of your total operating costs come from the electricity. Then check the enable total cost plot option and you will also see total costs in addition to electricity costs.
Its a simple model and gives anyone curious a starting point for their own testing and research.
[SCL] Bitcoin Hashrate Dips (Miner Capitulation)Gives long-term buy signals for Bitcoin from dips and recoveries in the hashrate (the "miner capitulation" theory). It has an overlay and a standalone mode and is fully configurable. It uses Williams Lows and ATR instead of moving averages.
Features that might be interesting for Pinescripters:
+ Automatic (as far as is possible currently) adjustment of plots for overlay and standalone display modes.
+ A neat label function for debugging floats
+ Fully commented
+ The debug that I used to overcome problems in developing it is left in
+ Ideas for how to deal with a wildly oscillating and exponentially increasing data source
You need to run this indicator on the Bitcoin daily chart for it to make any sense. The best is a BTC/USD chart with a long history, such as BNC:BLX.
Technical Analyst by DGTWho needs a Technical Analyst?
yes I can hear someone is asking for, and here is one that can help you with technical analysis
The analyst will present a technical anlaysis report at a glance calculated by the most popular technical indicators , and the good part, the anlayst will do it voluntarily
technical skills of the analyst:
- experienced an all markets
- ability to interpret moving averages
- ability to interpret volume changes
- ability to interpret trend folowing indicators such as:
* directional movement index (dmi), identify trend strength and trend direction
* complex ichimoku cloud , identify trend stregth, and tk crosses
- ability to interpret oscillators such as:
* relative strength index, identify oversold overbought levels, identify the rsi flow
* commodity channel index, identify oversold overbought levels
* awesome identify if grawing or falling
* macd if bullish or bearish, and macd histogram if grawing or falling
- ability to calculate probability and its trend
- non-stop hardworker,
- available 7/24,
- highly dedicated always on duty,
- open for new ideas and willing to learn
- upon request the analyst will create reports with custom settings of your choise
the analyst is not a decition maker, trading success is all about following your trading strategy and the analyst aims to help with the presented reports calculated by the most popular technical indicators
the analyst supports 9 of the popular technical indicators and is willing to learn more , please share your comments and feedbacks and help the analyst improve skills
cheers!
Disclaimer : The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Hashrate Mining of BiznesFilosofIn addition to technical analysis, you also need to pay attention to fundamental analysis. Bitcoin has one of these indicators, it is the network hashrate. And it’s important to know when mining becomes disadvantageous. Those. when network participants turn off the equipment. And there are critical points that depend on the price and number of miners in the network.
When the blue bars of the indicator grow, then you can stand in long. When stools are reduced, then it is time to close positions or hedge risks in the derivatives market.
The vertical line indicates halving.
A red flag indicates a dangerous moment, and a green flag indicates the time of purchase.
The oscillator is based on fundamental indicators and the intersection of moving averages.
===
Кроме теханализа нужно ещё обращать внимание на фундаментальный анализ. У биткоина один из таких показателей, это хэшрейт сети. И важно зать, когда майнинг становится невыгоден. Т.е. когда участники сети отключают оборудование. И есть критические точки, зависящие от цены и количества майнеров в сети.
Когда синие столбики индикатора растут, тогда можно стоять в лонг. Когда столюики уменьшаются, тогда пора закрывать позиции или хеджировать риски на рынке деривативов.
Вертикальной линией обозначен халвинг.
Красный флаг показывает опасный момент, а зелёный флаг указывает на время покупок.
Осцилятор основан на фундаментальных показателях и пересечении скользящих средних.
Bitcoin Production Cost OscillatorFor Trav,
Oscillator version of "Bitcoin Production Cost".
Based on raw data from CBECI.
Follow me to read more about the calculation logic.
Mining Cash Flow LineTakes QUANDL Bitcoin blockchain difficulty data, three variables (hashrate in THs/sec, power consumption in kWh, and electricity costs in cents/kWh) and calculates the base line for cash flow in US dollars. The default is an AntMiner S15 at 10 cents/kWh.
When price is above this line, miners with the given conditions have positive cash flow (i.e. they make more money mining than their running costs), and when below the line, they would be better off turning their rigs off (if this simple model can be applied to their particular circumstance).
Assumptions:
1. All costs are consolidated into one "electricity cost" variable, including things like rent and wages for mining farms.
2. 12.5 BTC/block emission schedule (update source code upon next halving).
Warnings:
It is likely that actual costs to miners varies in complex ways. This indicator only shows a cash flow calculation for a very simple set of parameters that will generally apply to miners, but not necessarily all of them. (For example, a miner may be locked into a prepaid contract for cheap electricity, or sell exhaust heat in the winter for extra revenue.)
Positive cash flow is also different from ROI, as this model does not take into account the cost of acquiring an ASIC mining rig.