OPEN-SOURCE SCRIPT

Short Term Bubble Risk

Updated
This risk indicator uses the extension of the closing price to the 20W SMA and displays a color-coded risk oscillator. The higher the oscillator is, the greater the short-term risk and vice-versa. This indicator has historically worked well for estimating the short-term risk of Bitcoin and Ethereum on a weekly timeframe.
Release Notes
Bumped version to v5 and added smoothing inputs with SMA and EMA.
Release Notes
Updated the risk color by using HSL gradient and added a toggle to enable/disable the fill.
Release Notes
- Added a vertical and horizontal gradient toggle alongside the existing fill toggle
Release Notes
- Removed dead code
Bitcoin (Cryptocurrency)CryptocurrencyEthereum (Cryptocurrency)moving_averageoscillaltorOscillatorsriskSimple Moving Average (SMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer