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
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.