OPEN-SOURCE SCRIPT
BTC - NMI: Network Metabolism Index

BTC - Network Metabolism Index (NMI) | RM
Concept & Background
The Network Metabolism Index (NMI) is a fundamental valuation model that treats Bitcoin as a biological organism. While price is the "face" of the asset, the NMI measures its "internal organs"—specifically its physical security and its social circulation.
Computational Logic: The Assembly Line
To arrive at the final NMI score, the indicator follows a rigorous four-step deterministic process:
• Step 1: Metric Selection: We ingest three high-fidelity data streams from Glassnode. Difficulty (Security), Active Addresses (Utility), and Market Cap (Price).
• Step 2: Fair Value Proxy (FVP) Computation: We calculate the network's intrinsic strength using a modified Metcalfe Law. We square the Active Addresses to account for network effect growth and multiply it by the Square Root of Difficulty to weight the value by physical security.
• Step 3: Log-Ratio Normalization: Because the FVP represents astronomical values of physical and social work, we calculate the Natural Logarithm of the Market Cap divided by the FVP. This places the data into a usable, though deep-negative, "dimensionless" territory.
• Step 4: Denoising & Banding: We apply a 14-day Least Squares Moving Average (LSMA) to the result to strip away daily volatility. Finally, we wrap the curve in 1.5 Standard Deviation bands to identify statistical "Fever" (Overvalued) and "Starvation" (Undervalued) zones.
The Y-Axis is measured in Nats (Natural Logarithmic Units). Important: Users should treat these units as dimensionless. Because the fundamental proxies for security and utility are so mathematically dominant, the resulting values reside in a negative logarithmic territory. The absolute numerical value is secondary to the morphology of the curve and its position relative to the dynamic Sigma bands.
Core Features / User Inputs
• LSMA Denoising: A linear regression filter to reveal structural trends.
• Dynamic Sigma Bands: 365-day rolling bands that adapt to Bitcoin's maturing market cycle.
• Regime Audit Dashboard: Real-time classification of the network state.
How to Read The Chart
• Metabolic Starvation (Blue Zone): Security and utility are significantly higher than price reflects. A generational value opportunity.
• Metabolic Fever (Red Zone): Price is over-extended relative to the network's biological reality.
• Neutral (Grey): Price and health are in a sustainable balance.
Data Feed Disclaimer
This indicator requires access to the Glassnode professional data feeds (Difficulty, Active Addresses, and Market Cap). Users without a valid subscription to these alternative data sets will not see the oscillator render. This script is intended for macro analysis; it is not financial advice.
General Disclaimer
This indicator is a mathematical model based on historical on-chain data. It is intended for educational purposes and macro analysis. On-chain metrics are lagging by nature and should be used in conjunction with a robust risk management strategy. This is not financial advice.
Tags
Rob Maths, Rob_Maths, robmaths, Bitcoin, OnChain, Glassnode, FundamentalAnalysis, MetcalfeLaw, Quant, Macro, Difficulty, ActiveAddresses, ValuationModel, NetworkMetabolism
Concept & Background
The Network Metabolism Index (NMI) is a fundamental valuation model that treats Bitcoin as a biological organism. While price is the "face" of the asset, the NMI measures its "internal organs"—specifically its physical security and its social circulation.
Computational Logic: The Assembly Line
To arrive at the final NMI score, the indicator follows a rigorous four-step deterministic process:
• Step 1: Metric Selection: We ingest three high-fidelity data streams from Glassnode. Difficulty (Security), Active Addresses (Utility), and Market Cap (Price).
• Step 2: Fair Value Proxy (FVP) Computation: We calculate the network's intrinsic strength using a modified Metcalfe Law. We square the Active Addresses to account for network effect growth and multiply it by the Square Root of Difficulty to weight the value by physical security.
• Step 3: Log-Ratio Normalization: Because the FVP represents astronomical values of physical and social work, we calculate the Natural Logarithm of the Market Cap divided by the FVP. This places the data into a usable, though deep-negative, "dimensionless" territory.
• Step 4: Denoising & Banding: We apply a 14-day Least Squares Moving Average (LSMA) to the result to strip away daily volatility. Finally, we wrap the curve in 1.5 Standard Deviation bands to identify statistical "Fever" (Overvalued) and "Starvation" (Undervalued) zones.
The Y-Axis is measured in Nats (Natural Logarithmic Units). Important: Users should treat these units as dimensionless. Because the fundamental proxies for security and utility are so mathematically dominant, the resulting values reside in a negative logarithmic territory. The absolute numerical value is secondary to the morphology of the curve and its position relative to the dynamic Sigma bands.
Core Features / User Inputs
• LSMA Denoising: A linear regression filter to reveal structural trends.
• Dynamic Sigma Bands: 365-day rolling bands that adapt to Bitcoin's maturing market cycle.
• Regime Audit Dashboard: Real-time classification of the network state.
How to Read The Chart
• Metabolic Starvation (Blue Zone): Security and utility are significantly higher than price reflects. A generational value opportunity.
• Metabolic Fever (Red Zone): Price is over-extended relative to the network's biological reality.
• Neutral (Grey): Price and health are in a sustainable balance.
Data Feed Disclaimer
This indicator requires access to the Glassnode professional data feeds (Difficulty, Active Addresses, and Market Cap). Users without a valid subscription to these alternative data sets will not see the oscillator render. This script is intended for macro analysis; it is not financial advice.
General Disclaimer
This indicator is a mathematical model based on historical on-chain data. It is intended for educational purposes and macro analysis. On-chain metrics are lagging by nature and should be used in conjunction with a robust risk management strategy. This is not financial advice.
Tags
Rob Maths, Rob_Maths, robmaths, Bitcoin, OnChain, Glassnode, FundamentalAnalysis, MetcalfeLaw, Quant, Macro, Difficulty, ActiveAddresses, ValuationModel, NetworkMetabolism
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.