SThom27

Bollinger Bands w/ Squeeze Alert

SThom27 Diupdate   
Bollinger's "simple" explanation for a Squeeze is the lowest volatility in the last 6 months. This indicator uses a default look-back period of 125 bars to determine the lowest BandWidth. When current BandWidth drops below the lowest BandWidth of the look-back period, the background of the bands turns red. Default look-back of 125 bars is ~6 months on daily charts.

The source, length, and standard deviation for the Bollinger Bands can all be adjusted. The look-back period for the Squeeze indicator can be adjusted as well.

The image shows my Bollinger Bands w/ Squeeze Alert indicator next to someone else's Bollinger Bandwidth w/ Squeeze Alert indicator to demonstrate how it appears on the chart.
Catatan Rilis:
This version adds the "complicated definition" of The Squeeze as detailed by John Bollinger.

"A more complicated definition of The Squeeze that is taught at our seminars involves Bollinger Bands on volatility itself. First plot the 20-day standard deviation of the close, or typical price. Now plot the 125-day, 1.5 standard deviation width Bollinger Bands of the standard deviation just plotted. A Squeeze is triggered when the 20-day standard deviation tags the lower band."
-Bollinger, John; Bollinger, John. Bollinger on Bollinger Bands (p. 194). McGraw-Hill Education.

It also adds an indicator for The Bulge. The Bulge is described as the HIGHEST bandwidth during the lookback period, which is set at 125 days (6 months) by default. It can be calculated using the original "simple" definition used for the original Squeeze indicator or you can add the same complicated definition that is used to calculate the complicated Squeeze.

By default, only the "simple" definition is used and the Bulge is not displayed. This allows users to continue to use the indicator as before without needing to understand the changes. However, you can choose to use the "complicated" definition or the Bulge in the settings. If you choose to use the "complicated" definition, it will still use the "simple" definition as well and it will apply the "complicated" definition to the Bulge calculations as well. You cannot use one type for the Squeeze and a different type for the Bulge.
Catatan Rilis:
There was a typo that was causing the Bulge to be displayed improperly. It was showing a Bulge even as BandWidth was decreasing, which is incorrect. This has been fixed.
Catatan Rilis:
Additional errors found and fixed.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?