OPEN-SOURCE SCRIPT

SHLL Model BTC Prediction

已更新
This indicator provides the model predictions for the Seasonal Halving Log-Log (SHLL) model as described here.

As an overview, the SHLL model is a power law model for Bitcoin price with a couple notable differences from the standard power law model:
  1. Its exogenous variable is progression through halvings rather than days from the genesis block. Progression through halvings is defined as number of blocks mined through a given day divided by 210,000 (the number of blocks in each cycle)
  2. Future predictions are based on the current rate at which blocks are mined
  3. It is a mixed effects model where the fixed effects are a power law using progression through halving (also called "fair value") and the random effects are a seasonality component
  4. The seasonality component is created by taking the percent progress through halving and breaking it into 48 periods. These allow cycle variability to be calculated versus the fair value
  5. Variance is also hierarchical; a base variance is calculated and then individual, added variance is calculated for each seasonal period
  6. It also incorporates IRLS like elements to trim outliers for more robust predictions

R^2 of the model versus the standard power law model:
  • Log scale: 0.976 vs. 0.956
  • Linear scale: 0.857 vs. 0.745
發布通知
removing unneeded half range input and lines
Cyclesforecasting

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明