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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。