OPEN-SOURCE SCRIPT

Bollinger Bands Breakout Oscillator [LuxAlgo]

The Bollinger Bands Breakout Oscillator is an oscillator returning two series quantifying the significance of breakouts between the price and the extremities of the Bollinger Bands indicator.

Settings

  • Length: Period of the Bollinger Bands indicator
  • Mult: Controls the width of the Bollinger Bands
  • Src: Input source of the indicator


Usage

syot kilat

Each series is calculated by summing the distance between price and a respective Bollinger Bands extremity in the case price is outside this extremity and divided by the sum of the absolute distance between price and a respective extremity. This sum is done over the most recent Length bars.

Bullish breakouts are represented by the green areas of the indicator, while bearish breakouts are represented by the red areas of the indicator.

The oscillator can determine the presence of an uptrend when the bullish area is superior to the bearish area, while a downtrend is indicated by a bearish area being superior to the bullish one. The significance of the breakout is determined by the amplitude of each area, with higher amplitudes indicating more significant breakouts or strong trends.

Using higher Mult values would naturally return wider bands, which would induce less frequent breakouts, this would be highlighted by the oscillator.

syot kilat

In the chart above we can see the oscillator using a multiplicative factor of 2.
Nota Keluaran
Minor changes.
Bands and ChannelsbollingerbandstrategyBollinger Bands Width (BBW)bollingersbandbreakoutbreakouttradingLUXluxalgoOscillatorsTrend Analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Juga pada:

Penafian