saolof

Better Bollinger bands

saolof Cập nhật   
Bollinger bands with volume-weighted statistics (volume weighted moving averages & variance/standard deviation) to give better results during high-volume events, and also aims to provide additional information without adding clutter by coloring the bands. Intended as the first basic indicator to be thrown on a chart.

Will never annoy you by rescaling log charts due to negative lower bands (much like my previous geometric bollinger bands) , and will almost always give more realistic bounds on price movement than standard bollinger bands, particularly during high-volume events such as broken supports, earnings reports, or squeezes.

The centerline is colored green or red by a volume-weighted momentum oscillator. The bands themselves let you select color schemes such as detected market type (confirmed bull market, confirmed bear market, or volatility-dominated), volatility change (to clearly show when bands are expanding or contracting), or the same color as the centerline oscillator.
Phát hành các Ghi chú:
v 1.1: Added a fallback to make the bands still work when volume data is missing for part of a ticker's history, such as in historical data.
Phát hành các Ghi chú:
v1.2: Refactored source code for future open-sourcing. Added centerline oscillator options in addition to the existing momentum oscillator, including an RSI-based oscillator with hysteresis and a hybrid oscillator combining both.
Phát hành các Ghi chú:
Added sawtooth time window (i.e. wma-like). Implemented Bessel's correction for weighted variances properly to make the variance estimate unbiased, which is mainly useful for get more consistent results when changing between time window settings or for short time settings. Time weights are reliability weights and included in the correction, while the volume weights are frequency weights and have a negligible influence on variance bias.

Also refactored internal code further.
Phát hành các Ghi chú:
* Added a plain band color option.
* Added an "ignore volume" checkbox setting. Enabling it feeds a constant volume of 1 into the indicator instead of the actual volume.
* Added a "Linear regression" checkbox setting. Enabling it changes the centerline to be a generalized LSMA with least squares weights from the weighted moving average selected in the time window setting. Bands similarly are the average deviation from the regression line instead of from the moving average. This is useful when studying charts that have a clear trend.
* Made minor changes to the Hybrid oscillator so that it wouldn't throw an error when the indicator is set to a small number of periods, it can now be set all the way down to 2 periods.
Phát hành các Ghi chú:
Beta release of new updated version. Minor performance improvements, refactorings, minor internal changes to some oscillators, the addition of my smooth exponential moving average as a time window option , and changed linear regression settings to include a "compromise" setting to take momentum into account without overfitting.

Putting some changes out here before I add them to the open source version.
Phát hành các Ghi chú:
(further minor work, including deriving the correct Bessel corrections for the SEMA)
Phát hành các Ghi chú:
(updating chart, prior update accidentally had a custom candle color scheme indicator also in the chart)
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
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 đồ?