OPEN-SOURCE SCRIPT
BTC STH Proxy vs Realized Price (RP) Ratio | STH : LTH

📊 REALIZED PRICE MARKET SIGNAL
Indicator that builds a Short-Term Holder (STH) price proxy using a configurable moving average of Bitcoin’s market price and compares it to Bitcoin’s Realized Price (RP) derived from on-chain data.
Realized Price (RP) is calculated from CoinMetrics Realized Market Cap divided by Glassnode circulating supply.
STH Proxy is a user-defined moving average (EMA/SMA/WMA) of BTC price, designed to mimic the behavior of the true STH Realized Price.
Users can adjust the MA type, length, and RP smoothing to closely replicate the STH curve seen on Glassnode, Bitbo, and Bitcoin Magazine Pro.
Optionally, the indicator can display the STH/RP ratio, which highlights transitions between market phases.
This tool provides a simple but effective way to visualize short-term vs long-term holder cost-basis dynamics using only publicly accessible on-chain aggregates and price data.
----------
💡TLDR: An alt take on the Short-Term Holder Realized Price / Long-Term Holder Realized Price cross model | (STH/LTH cross)
- A mix of MAs are used to mimic STH.
- RP here used as a proxy for the long-term holder (LTH) cost basis.
- Bull/Bear signals are generated when the STH proxy crosses above or below RP.
⭐ Free to use • Leave feedback • Happy trading!
Indicator that builds a Short-Term Holder (STH) price proxy using a configurable moving average of Bitcoin’s market price and compares it to Bitcoin’s Realized Price (RP) derived from on-chain data.
Realized Price (RP) is calculated from CoinMetrics Realized Market Cap divided by Glassnode circulating supply.
STH Proxy is a user-defined moving average (EMA/SMA/WMA) of BTC price, designed to mimic the behavior of the true STH Realized Price.
Users can adjust the MA type, length, and RP smoothing to closely replicate the STH curve seen on Glassnode, Bitbo, and Bitcoin Magazine Pro.
Optionally, the indicator can display the STH/RP ratio, which highlights transitions between market phases.
This tool provides a simple but effective way to visualize short-term vs long-term holder cost-basis dynamics using only publicly accessible on-chain aggregates and price data.
----------
💡TLDR: An alt take on the Short-Term Holder Realized Price / Long-Term Holder Realized Price cross model | (STH/LTH cross)
- A mix of MAs are used to mimic STH.
- RP here used as a proxy for the long-term holder (LTH) cost basis.
- Bull/Bear signals are generated when the STH proxy crosses above or below RP.
⭐ Free to use • Leave feedback • Happy trading!
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.