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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
💡 Обсуждаем торговые идеи , делимся индикаторами и стратегиями в нашем Telegram-канале:
👉 t.me/+AQWwxRhhrXI0YTgy
👉 t.me/+AQWwxRhhrXI0YTgy
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
💡 Обсуждаем торговые идеи , делимся индикаторами и стратегиями в нашем Telegram-канале:
👉 t.me/+AQWwxRhhrXI0YTgy
👉 t.me/+AQWwxRhhrXI0YTgy
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.