OPEN-SOURCE SCRIPT
Updated Net Unrealized Profit/Loss (NUPL)

Indicator Overview
This indicator is derived from Market Value and Realized Value, which can be defined as:
Market Value: The current price of Bitcoin multiplied by the number of coins in circulation. This is like market cap in traditional markets i.e. share price multiplied by number of shares.
Realized Value: Rather than taking the current price of Bitcoin, Realized Value takes the price of each Bitcoin when it was last moved i.e. the last time it was sent from one wallet to another wallet. It then adds up all those individual prices and takes an average of them. It then multiplies that average price by the total number of coins in circulation.
By subtracting Realized Value from Market Value we calculate Unrealized Profit/Loss.
Unrealized Profit/Loss estimates the total paper profits/losses in Bitcoin held by investors. This is interesting to know but of greater value is identifying how this changes relatively over time.
To do this we can divide Unrealized Profit/Loss by Market Cap. This creates Net Unrealized Profit/Loss, sometimes referred to as NUPL, which is very useful to track investor sentiment over time for Bitcoin.
Relative Unrealised Profit/Loss is another name used for this analysis.
How To View The Chart
The key principle of this tool is in the ratio between market cap and Bitcoin investors taking profit.
When market cap rises much faster than profit taking we see that the market is overheating, one could say due to investor greed (red band). For the strategic investor such times have historically been favourable to take profit.
We can break down different percentages of Bitcoin Relative Unrealized Profit/Loss to determine what stage of the market we are in. This can be advantageous for the long term strategic investor.
Created By
Tamas Blummer, Tuur Demeester and Michiel Lescrauwaet
This indicator is derived from Market Value and Realized Value, which can be defined as:
Market Value: The current price of Bitcoin multiplied by the number of coins in circulation. This is like market cap in traditional markets i.e. share price multiplied by number of shares.
Realized Value: Rather than taking the current price of Bitcoin, Realized Value takes the price of each Bitcoin when it was last moved i.e. the last time it was sent from one wallet to another wallet. It then adds up all those individual prices and takes an average of them. It then multiplies that average price by the total number of coins in circulation.
By subtracting Realized Value from Market Value we calculate Unrealized Profit/Loss.
Unrealized Profit/Loss estimates the total paper profits/losses in Bitcoin held by investors. This is interesting to know but of greater value is identifying how this changes relatively over time.
To do this we can divide Unrealized Profit/Loss by Market Cap. This creates Net Unrealized Profit/Loss, sometimes referred to as NUPL, which is very useful to track investor sentiment over time for Bitcoin.
Relative Unrealised Profit/Loss is another name used for this analysis.
How To View The Chart
The key principle of this tool is in the ratio between market cap and Bitcoin investors taking profit.
When market cap rises much faster than profit taking we see that the market is overheating, one could say due to investor greed (red band). For the strategic investor such times have historically been favourable to take profit.
We can break down different percentages of Bitcoin Relative Unrealized Profit/Loss to determine what stage of the market we are in. This can be advantageous for the long term strategic investor.
Created By
Tamas Blummer, Tuur Demeester and Michiel Lescrauwaet
Release Notes
Added valuation. Now you have values on a screen and able to send alerts with them.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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.