Class MVRVRatioIndicator
java.lang.Object
com.wualabs.qtsurfer.engine.indicators.onchain.MVRVRatioIndicator
- All Implemented Interfaces:
OnChainIndicator
Market Value to Realized Value (MVRV) Ratio.
Compares market capitalization to realized capitalization:
MVRV = marketCap / realizedCap
- MVRV > 3.5: historically overvalued zone
- MVRV < 1: historically undervalued zone (market below aggregate cost basis)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculate(OnChainSnapshot snapshot) Computes the indicator value from a snapshot.name()Returns the indicator name.
-
Constructor Details
-
MVRVRatioIndicator
public MVRVRatioIndicator()
-
-
Method Details
-
name
Description copied from interface:OnChainIndicatorReturns the indicator name.- Specified by:
namein interfaceOnChainIndicator
-
calculate
Description copied from interface:OnChainIndicatorComputes the indicator value from a snapshot.- Specified by:
calculatein interfaceOnChainIndicator- Parameters:
snapshot- the on-chain data snapshot- Returns:
- the computed indicator value, or
Double.NaNif not computable
-