OPEN-SOURCE SCRIPT
Mis à jour

Daily Bubble Risk Adjustment

1 043
This script calculates the ratio of the asset's closing price to its 20-week moving average (20W MA) and visualizes it as a color-coded line chart. The script also includes a customizable moving average (default: 111-day MA) to help smooth the ratio trend.

It identifies overbought and oversold conditions relative to the 20W MA, making it a valuable tool for long-term trend analysis.
Notes de version
This script calculates the ratio of the asset's closing price to its 20-week moving average (20W MA) and visualizes it as a color-coded line chart. The script also includes a customizable moving average (default: 111-day MA) to help smooth the ratio trend.

It identifies overbought and oversold conditions relative to the 20W MA, making it a valuable tool for long-term trend analysis.
Notes de version
Key Updates:
BMSB Implementation:
Added 20-SMA and 21-EMA calculations based on the ratio instead of price.
Introduced a shaded area between the two for better visualization.

Revised Color Assignments:
Adjusted the color gradient for different ratio ranges.
Improved color contrast for better readability.
Divergence Detection:
Implemented regular bullish and bearish divergences using pivot points.
Added labels and markers for easier trend identification.
Notes de version
some adjustments for colors

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.