SThom27

Bollinger Bands w/ Squeeze Alert

SThom27 Cập nhật   
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.
Phát hành các Ghi chú:
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.
Phát hành các Ghi chú:
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.
Phát hành các Ghi chú:
Additional errors found and fixed.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?