OPEN-SOURCE SCRIPT
Cập nhật BBW, Squeeze, and EMA

This indicator helps traders to identify low volatility areas by using the "Bollinger Bands Squeeze" method. The idea is to look for the lowest values in the Bollinger bands width to judge the lowest volatility readings.
By default the squeeze period is 125, as suggested by John Bollinger.
The indicator is a variation on the BB Squeeze indicator by @danarm. It adds:
* A lowest volatility print, named "Squeeze Line". This shows traders the lowest BBW reads.
* A moving average on top of BBW. This helps traders gauge volatility expansion. I'd use is like this: once you identify volatility contraction, an expansion would be when BBW crosses its average upwards.
* The blue background color indicates where BBW crossed its lowest 125 value, indicating further volatility contraction.
By default the squeeze period is 125, as suggested by John Bollinger.
The indicator is a variation on the BB Squeeze indicator by @danarm. It adds:
* A lowest volatility print, named "Squeeze Line". This shows traders the lowest BBW reads.
* A moving average on top of BBW. This helps traders gauge volatility expansion. I'd use is like this: once you identify volatility contraction, an expansion would be when BBW crosses its average upwards.
* The blue background color indicates where BBW crossed its lowest 125 value, indicating further volatility contraction.
Phát hành các Ghi chú
- Added "BBW Expansion" as well (useful for "unusual volatility alerts").
- Updated for Pine Script v5.
- Configurable "Highest Squeeze Period" now too.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.