OPEN-SOURCE SCRIPT
Atualizado

BB Oscillator - Price Relative to Bollinger Bands

820
This Bollinger Band Oscillator visualizes where the current price sits relative to its Bollinger Bands, scaled between 0 and 100. It helps identify overbought and oversold conditions based on the price’s position within the bands and provides dynamic signals when momentum shifts occur.

Features

Price Relative to Bollinger Bands
The main oscillator plots the price’s relative position within the Bollinger Bands on a scale from 0 (lower band) to 100 (upper band), giving an intuitive view of where price stands.

Customizable Moving Average Overlay
An optional moving average (SMA or EMA) smooths the oscillator for trend analysis, with adjustable length and color options.

Crossover & Crossunder Signals
Alerts and background highlights trigger when the oscillator crosses over or under its moving average, signaling potential momentum shifts or trend changes.

Fully Customizable Colors
Choose your preferred colors for the oscillator line, moving average and crossover signals to match your charting style.

This tool offers a unique oscillator view of Bollinger Bands, combining volatility context with momentum signals for clearer decision-making.
Notas de Lançamento
New feature:
Display phases of expanded or tight bollinger bands

Red- or green-colored zero/100-lines indicate expanded/tight bollinger bands relative to the last 200 candles (number may be changed in the indicator settings).
Notas de Lançamento
Much enhanced visuals & customization
- Converted the main plot to columns style for clearer representation
- Extended BBands (above 100 or below 0) are now distinctly colored
- New background fills highlight extreme overbought/oversold ranges
- Added dynamic coloring for price relative to its moving average, based on whether it's above or below
- New "Dark Mode" switch
- Option to change background color on cross-ups/cross-downs.
- Improved "BB Cloud" visualization with configurable colors for light/dark mode.
- Adjusted default colors for better readability and aesthetics.

BB Tightness Visualization
- Added visual shapes (triangle up/down) to indicate "Expanded BBs" and "Tight BBs" at the top and bottom of the indicator pane, respectively.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.