OPEN-SOURCE SCRIPT
Approx STH Unrealized Profit [Relative %]

This indicator estimates the unrealized profit or loss of short-term holders (STH) without requiring on-chain data. Instead of using actual STH Realized Price (average purchase price), it employs a 155-day Simple Moving Average (SMA) to approximate the behavior of "recent buyers."
How It Works
The indicator calculates the percentage deviation between the current price and the 155-day SMA using the formula:
(Current Price - 155 SMA) / 155 SMA * 100%.
Positive values indicate profit, while negative values show loss. Key threshold levels are set at +50% (overbought) and -30% (oversold).
Trading Applications
Profit > 50% - STH are experiencing significant profits, suggesting potential correction. Consider taking partial profits.
0% < Profit < 50% - Moderate profits indicate the trend may continue. Maintain positions.
Profit ≈ 0% - Price is near STH's average entry point, showing market indecision.
-30% < Profit < 0% - STH are at a loss, potentially signaling accumulation opportunities.
Profit < -30% - Extreme oversold conditions may present buying opportunities.
Limitations
SMA only approximates STH behavior.
May produce false signals during sideways markets.
SMA lag can be noticeable in strong trending markets.
Recommendation
For improved accuracy, combine this indicator with trend-following tools (200 EMA, Volume analysis) and other technical indicators. It serves best as a supplementary tool for identifying overbought/oversold market conditions within your trading strategy.
How It Works
The indicator calculates the percentage deviation between the current price and the 155-day SMA using the formula:
(Current Price - 155 SMA) / 155 SMA * 100%.
Positive values indicate profit, while negative values show loss. Key threshold levels are set at +50% (overbought) and -30% (oversold).
Trading Applications
Profit > 50% - STH are experiencing significant profits, suggesting potential correction. Consider taking partial profits.
0% < Profit < 50% - Moderate profits indicate the trend may continue. Maintain positions.
Profit ≈ 0% - Price is near STH's average entry point, showing market indecision.
-30% < Profit < 0% - STH are at a loss, potentially signaling accumulation opportunities.
Profit < -30% - Extreme oversold conditions may present buying opportunities.
Limitations
SMA only approximates STH behavior.
May produce false signals during sideways markets.
SMA lag can be noticeable in strong trending markets.
Recommendation
For improved accuracy, combine this indicator with trend-following tools (200 EMA, Volume analysis) and other technical indicators. It serves best as a supplementary tool for identifying overbought/oversold market conditions within your trading strategy.
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.
💡 Обсуждаем торговые идеи , делимся индикаторами и стратегиями в нашем Telegram-канале:
👉 t.me/+AQWwxRhhrXI0YTgy
👉 t.me/+AQWwxRhhrXI0YTgy
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.
💡 Обсуждаем торговые идеи , делимся индикаторами и стратегиями в нашем Telegram-канале:
👉 t.me/+AQWwxRhhrXI0YTgy
👉 t.me/+AQWwxRhhrXI0YTgy
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.