OPEN-SOURCE SCRIPT
Aktualisiert

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.
Versionshinweise
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.
Versionshinweise
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.
Versionshinweise
some adjustments for colors

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.