OPEN-SOURCE SCRIPT

Realized price for BTC, ETH, LTC

已更新
This script calculates the realized price of BTC/ETH/LTC and shows a signal when the market price falls below the realized price - which can be signal a for potential market bottom. The realized price calculation is based on Glassnode data MVRV ratio.

- Realized Price is the average price of the Bitcoin supply, valued at the day each coin last transacted on-chain. This is often considered the 'on-chain cost basis' of the market.

- MVRV Ratio is the ratio between the market value (MV, spot price) and the Realized value (RV, realized price), allowing for a visualization of Bitcoin market cycles, and profitability.

Calculations:
REALIZED PRICE = REALIZED MARKET CAP / CIRCULATION SUPPLY
REALIZED MARKET CAP = 1 / MVRV * MARKET CAP

It's working with BTCUSD, ETHUSD, LTCUSD tickers only.
版本注释
I added price bands and change Realized Price to EMA30 (orange color) from it.

Lower Bands (green color)
-70% from Realized price
-50% from Realized price
-30% from Realized price

Upper Bands (red color)
200% from Realized price
300% from Realized price
400% from Realized price
500% from Realized price

And signals added when price cross bands.

Check how it works.
版本注释
I added possibility to chose EMA length and added support for more coins.
Circulating supply takes from Glassnode or IntoTheBlock. 

Signals were fixed.
Fundamental AnalysisPivot points and levelsPortfolio managementrealized_pricerealized_price_btcrealized_price_ethrealized_price_ltc

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明