OPEN-SOURCE SCRIPT
Updated

MVRV | Lyro RS

1โ€ฏ195
๐Ÿ“Š MVRV | Lyro RS is a powerful on-chain valuation tool designed to assess the relative market positioning of Bitcoin (BTC) or Ethereum (ETH) based on the Market Value to Realized Value (MVRV) ratio. It highlights potential undervaluation or overvaluation zones, helping traders and investors anticipate cyclical tops and bottoms.

โœจ Key Features:
  • ๐Ÿ” Dual Asset Support: Analyze either BTC or ETH with a single toggle.
  • ๐Ÿ“ Dynamic MVRV Thresholds: Automatically calculates median-based bands at 50%, 64%, 125%, and 170%.
  • ๐Ÿ“Š Median Calculation: Period-based median MVRV for long-term trend context.
  • ๐Ÿ’ก Optional Smoothing: Use SMA to smooth MVRV for cleaner analysis.
  • ๐ŸŽฏ Visual Threshold Alerts: Background and bar colors change based on MVRV position relative to thresholds.
  • โš ๏ธ Built-in Alerts: Get notified when MVRV enters under- or overvalued territory.


๐Ÿ“ˆ How It Works:
  • ๐Ÿ’ฐ MVRV Calculation: Uses data from IntoTheBlock and CoinMetrics to obtain real-time MVRV values.
  • ๐Ÿง  Threshold Bands: Median MVRV is used as a baseline. Ratios like 50%, 64%, 125%, and 170% signal various levels of market extremes.
  • ๐ŸŽจ Visual Zones: Green zones for undervaluation and red zones for overvaluation, providing intuitive visual cues.
  • ๐Ÿ› ๏ธ Custom Highlights: Toggle individual threshold zones on/off for a cleaner view.


โš™๏ธ Customization Options:
  • ๐Ÿ”„ Switch between BTC or ETH for analysis.
  • ๐Ÿ“ Adjust period length for median MVRV calculation.
  • ๐Ÿ”ง Enable/disable threshold visibility (50%, 64%, 125%, 170%).
  • ๐Ÿ“‰ Toggle smoothing to reduce noise in volatile markets.


๐Ÿ“Œ Use Cases:
  • ๐ŸŸข Identify undervalued zones for long-term entry opportunities.
  • ๐Ÿ”ด Spot potential overvaluation zones that may precede corrections.
  • ๐Ÿงญ Use in confluence with price action or macro indicators for better timing.


โš ๏ธ Disclaimer:
This indicator is for educational purposes only. It should not be used in isolation for making trading or investment decisions. Always combine with price action, fundamentals, and proper risk management.
Release Notes
removed unnecessary calculations.

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.