Index Adaptive Keltner Channels [DW]

DonovanWall Wizard Cập nhật   
This study is an experiment in adaptive filtering. The process in this study was inspired by KAMA and ZLEMA filtering techniques.
First, data is given an optional modification for lag reduction.
Then, an adaptive filter of your choice is calculated. There are 6 different adaptive filters to choose from in this study:
-Commodity Channel Index Adaptive Moving Average (CCIAMA)
-Relative Strength Index Adaptive Moving Average (RSIAMA)
-%R Adaptive Moving Average (%RAMA)
-Klinger Volume Oscillator Adaptive Moving Average (KVOAMA)
-Money Flow Index Adaptive Moving Average (MFIAMA)
-Correlation Coefficient Adaptive Moving Average (CCAMA)
Next, ATR is calculated using the specified adaptive filter.
A set of ranges is calculated by multiplying ATR by the square root of the sampling period, then dividing it by 2 and 4.
And Finally, the ranges are added to and subtracted from the adaptive filter to generate the channels.

Custom bar colors are included. The formula for the color scheme is based on filter direction and price.
Phát hành các Ghi chú:

After analyzing the original code more in depth, I realized a few flaws with the method I previously used, so I decided to rebuild the whole thing from scratch.
This version is significantly more versatile and adaptive to data.

In this version, rather than using altered index data to operate the smoothing parameters, I've applied Kaufman's Efficiency Ratio to a handful of indices.
The smoothing operators available in this script are:
- Kaufman's Efficiency Ratio
- Time Correlation Efficiency Ratio
- Commodity Channel Index Efficiency Ratio
- Relative Strength Index Efficiency Ratio
- Klinger Volume Oscillator Efficiency Ratio
- Money Flow Index Efficiency Ratio
- Fisher Transform Efficiency Ratio
- Average True Range Efficiency Ratio
- Standard Deviation Efficiency Ratio

I also added a Variable Moving Average option per user request, which dynamically changes its smoothing period based on the operator.
Now you can choose between either an Adaptive Moving Average or Variable Moving Average as the calculation method.

The high and low bands are generated by calculating ATR based on the averaging method, multiplying it by a user defined coefficient, then adding and subtracting it from the basis average.
The smaller set of bands is generated by performing the same calculation with 78.6% ATR.

The bar color scheme is still based on filter direction and price.
Phát hành các Ghi chú:

I noticed the Variable Moving Average formula I used previously was an expanding model with a rather significant amount of overshoot, so I reverted to Tushar Chande's model.

I removed ATR Efficiency from the list, as it is not nearly as effective for this type of calculation as the other indices.

I've implemented some new methods for transforming operator data for different results:
- Standard, which uses the default Efficiency Ratio calculations
- Max Min Normalize, which normalizes the operator data based on maximum and minum values, resulting in a more sensitive response
- Inverse Fisher Normalize, which performs an Inverse Fisher Transform to the operator, then performs Max Min Normalization
- Gate, which changes all values below the gate to 0, resulting in a less sensitive response

The secondary band percentage for the high and low zones is now adjustable. The default value is now 61.8%.

The bar color scheme has been adjusted to highlight overbought and oversold conditions.
Phát hành các Ghi chú:
Not a big update. Just some simple housekeeping.
Phát hành các Ghi chú:

-> Migrated script to v4.
-> Reorganized script structure.
-> Smoothing operator calculations are now expressed as functions.
-> Added compression to the available smoothing operator modifications. Compression can be tuned by adjusting the threshold and intensity.
-> When using KVOER or MFIER, volume will be automatically substituted with tick volume when volume is NaN.
-> Corrected NaN values in initial states.
-> Revamped color scheme.

For my full list of premium tools, check the blog:

Reach out on Telegram:
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 đồ?