OPEN-SOURCE SCRIPT
Thermocap Z-Score | Astral Vision

Thermocap Z-Score | Astral Vision 🌠💠
Thermocap measures the total cumulative USD value of all Bitcoin ever issued to miners: the aggregate amount of real capital that has flowed into the network through block rewards since genesis.
It represents the minimum provable economic cost of Bitcoin's entire issuance history, making it a fundamental anchor for long-term valuation.
The Thermocap Multiple divides BTC price by Thermocap, expressing how many times over the market is currently valuing Bitcoin relative to the total capital miners have ever extracted from it. Historically, extreme multiple values have marked cycle tops and bottoms with high consistency. This indicator standardizes the multiple in log space over a rolling window, producing a Z-Score that makes those extremes statistically comparable across all cycles regardless of Bitcoin's absolute price or the compounding growth of Thermocap itself.
Calculation ⚙️
`Daily Issuance USD = blocks_mined_today × block_reward × BTC price`
`Thermocap = cumulative sum of Daily Issuance USD / 1,000,000,000`
`Multiple = BTC price / Thermocap`
`Z-Score = (log(Multiple) − SMA(log(Multiple), length)) / StdDev(log(Multiple), length)`
Block reward is derived directly from the current block height, stepping through the four halvings programmatically. Log transformation is applied before standardization to compress the exponential growth of the multiple into a cycle-comparable range.
Plots 📊
Inputs 🎛️
Colors 🎨
5 Astral Vision presets + custom override. Default: Futura.
Positive color activates at both lower thresholds; negative color activates at both upper thresholds. Z2 lines are fully opaque; Z1 lines are semi-transparent, creating a visual gradient of intensity toward the extreme.
Purpose 🎯
Raw Thermocap Multiple charts plot an exponentially growing series that becomes visually unreadable across multiple cycles, and fixed multiple thresholds lose relevance as the cumulative issuance base compounds.
The standard approach of using static bands like "×30 = top" breaks down as Thermocap itself grows.
This indicator solves both problems simultaneously: log transformation removes the exponential trend, and rolling Z-Score standardization makes every cycle's extremes directly comparable using the same statistical distance from the mean.
The dual-threshold structure (Z1 and Z2) provides an early warning level and a confirmed extreme level, letting traders distinguish between elevated readings and genuinely historic deviations: a distinction that single-threshold implementations cannot make.
Disclaimer ⭕️
It is not financial advice, not an investment recommendation, and not affiliated with any financial institution, research firm, or organization of any kind. All content is provided for educational and informational purposes only. Always conduct your own research before making any financial decision.
Thermocap measures the total cumulative USD value of all Bitcoin ever issued to miners: the aggregate amount of real capital that has flowed into the network through block rewards since genesis.
It represents the minimum provable economic cost of Bitcoin's entire issuance history, making it a fundamental anchor for long-term valuation.
The Thermocap Multiple divides BTC price by Thermocap, expressing how many times over the market is currently valuing Bitcoin relative to the total capital miners have ever extracted from it. Historically, extreme multiple values have marked cycle tops and bottoms with high consistency. This indicator standardizes the multiple in log space over a rolling window, producing a Z-Score that makes those extremes statistically comparable across all cycles regardless of Bitcoin's absolute price or the compounding growth of Thermocap itself.
Calculation ⚙️
`Daily Issuance USD = blocks_mined_today × block_reward × BTC price`
`Thermocap = cumulative sum of Daily Issuance USD / 1,000,000,000`
`Multiple = BTC price / Thermocap`
`Z-Score = (log(Multiple) − SMA(log(Multiple), length)) / StdDev(log(Multiple), length)`
Block reward is derived directly from the current block height, stepping through the four halvings programmatically. Log transformation is applied before standardization to compress the exponential growth of the multiple into a cycle-comparable range.
Plots 📊
- Z-Score line in the indicator panel, colored by active regime
- Two upper threshold lines (Upper Z1 and Z2) at decreasing transparency (Z2 is the extreme ceiling)
- Two lower threshold lines (Lower Z1 and Z2) at decreasing transparency (Z2 is the extreme floor)
- Zero midline
- Fill between Z-Score and Upper Z2 when breached (distribution zone)
- Fill between Z-Score and Lower Z2 when breached (accumulation zone)
- Candle coloring on the price chart by active regime
- Background highlight on the price chart when Z2 thresholds are breached
Inputs 🎛️
- `Z-Score Lookback`: rolling window for mean and standard deviation calculation (default 730)
- `Upper Z1 / Z2`: two overbought threshold levels, Z2 marking the extreme (defaults 2.3 / 2.8)
- `Lower Z1 / Z2`: two oversold threshold levels, Z2 marking the extreme (defaults −1.5 / −1.8)
Colors 🎨
5 Astral Vision presets + custom override. Default: Futura.
Positive color activates at both lower thresholds; negative color activates at both upper thresholds. Z2 lines are fully opaque; Z1 lines are semi-transparent, creating a visual gradient of intensity toward the extreme.
Purpose 🎯
Raw Thermocap Multiple charts plot an exponentially growing series that becomes visually unreadable across multiple cycles, and fixed multiple thresholds lose relevance as the cumulative issuance base compounds.
The standard approach of using static bands like "×30 = top" breaks down as Thermocap itself grows.
This indicator solves both problems simultaneously: log transformation removes the exponential trend, and rolling Z-Score standardization makes every cycle's extremes directly comparable using the same statistical distance from the mean.
The dual-threshold structure (Z1 and Z2) provides an early warning level and a confirmed extreme level, letting traders distinguish between elevated readings and genuinely historic deviations: a distinction that single-threshold implementations cannot make.
Disclaimer ⭕️
It is not financial advice, not an investment recommendation, and not affiliated with any financial institution, research firm, or organization of any kind. All content is provided for educational and informational purposes only. Always conduct your own research before making any financial decision.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
My premium indicators are available on Whop:
whop.com/astralvision
Astral Vision 🌠💠
whop.com/astralvision
Astral Vision 🌠💠
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
My premium indicators are available on Whop:
whop.com/astralvision
Astral Vision 🌠💠
whop.com/astralvision
Astral Vision 🌠💠
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。