OPEN-SOURCE SCRIPT
BTC Power-Law Decay Channel Oscillator (0–100)

🟠 BTC Power-Law Decay Channel Oscillator (0–100)
This indicator calculates Bitcoin’s position inside its long-term power-law decay channel and normalizes it into an easy-to-read 0–100 oscillator.
🔎 Concept
Bitcoin’s long-term price trajectory can be modeled by a log-log power-law channel.
A baseline is fitted, then an upper band (excess/euphoria) and a lower band (capitulation/fear).
The oscillator shows where the current price sits between those bands:
0 = near the lower band (historical bottoms)
100 = near the upper band (historical tops)
📊 How to Read
Oscillator > 80 → euphoric excess, often cycle tops
Oscillator < 20 → capitulation, often cycle bottoms
Works best on weekly or bi-weekly timeframes.
⚙️ Adjustable Parameters
Anchor date: starting point for the power-law fit (default: 2011).
Smoothing days: moving average applied to log-price (default: 365 days).
Upper / Lower multipliers: scale the bands to align with historical highs and lows.
✅ Best Use
Combine with other cycle signals (dominance ratios, macro indicators, sentiment).
Designed for long-term cycle analysis, not intraday trading.
This indicator calculates Bitcoin’s position inside its long-term power-law decay channel and normalizes it into an easy-to-read 0–100 oscillator.
🔎 Concept
Bitcoin’s long-term price trajectory can be modeled by a log-log power-law channel.
A baseline is fitted, then an upper band (excess/euphoria) and a lower band (capitulation/fear).
The oscillator shows where the current price sits between those bands:
0 = near the lower band (historical bottoms)
100 = near the upper band (historical tops)
📊 How to Read
Oscillator > 80 → euphoric excess, often cycle tops
Oscillator < 20 → capitulation, often cycle bottoms
Works best on weekly or bi-weekly timeframes.
⚙️ Adjustable Parameters
Anchor date: starting point for the power-law fit (default: 2011).
Smoothing days: moving average applied to log-price (default: 365 days).
Upper / Lower multipliers: scale the bands to align with historical highs and lows.
✅ Best Use
Combine with other cycle signals (dominance ratios, macro indicators, sentiment).
Designed for long-term cycle analysis, not intraday trading.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。