jamiedubauskas

Bollinger Band Volatility Spread Visualizer

jamiedubauskas Cập nhật   
This indicator was created to see the total dollar (or whatever currency pair) amount spread between the upper and lower Bollinger Bands. This knowledge of knowing this spread can be used to indicate upcoming periods of high volatility in a market. The fundamental idea behind predicting periods of high volatility is backed up by the idea that periods of low volatility are followed by periods of high volatility and vice versa.

Based on this knowledge, the numerical spread of the Bollinger Bands, as shown in the indicator, we can deduce that when the value is super low, we can expect a period of high volatility AKA: big move incoming.

This indicator is not fully finished because this was my first time coding in Pinescript and I wanted to post the basic indicator first.
My future plans for improving this indicator include:
  • Adding customization as an option to choose your personal BBands settings that this indicator is based off of
  • Potentially converting this indicator as a TradingView Strategy where a signal would go off when the spread reaches a certain threshold
Phát hành các Ghi chú:
Added code for custom Bollinger Bands input for flexibility for everyone's different uses of Bollinger Bands
Phát hành các Ghi chú:
Changed the way the data is presented by indexing the spread of the Bollinger Bands relative to the price of the asset. Basically just used the Bollinger Bands Width function that already exists and multiplied by 100 to get more precision.

My eventual goal is to figure out a threshold that when reached, creates a general signal of upcoming high volatility. That signal can then be used in conjunction with other indicators (to detect the direction of a trend) to create a buy or sell signal.

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 đồ?