jwammo12

Adaptive Bandpass Trigger Oscillator

This is based off of Ehler's Bandpass Filter system (link below slides 15-17). I then used Ehler's methods for finding the dominant cycle to automatically input the dominant cycle to the length. Essentially Ehler runs a band pass with a given period to detrend the price data and highlight a cycle with the given frequency(length). This represents the In phase cycle. Ehler then creates the trigger line by taking the one bar momentum of the In Phase line, multiplying by 2Pi and then using this to create a 60 degree leading signal. The triggers are crossovers of the In Phase and Lead lines. You can also use conservative signals by waiting for the In Phase line to trend in the direction of the trigger crossover as well.

Delta represents how much to influence the oscillator by the price (Delta 0 is a perfect wave)
Alpha represents how quickly to adapt between the dominant cycle changes in the price.

Thanks to LazyBear for implementing Ehler's original adaptive code, which I used for this system
Thanks to HPotter for the BandPass Filter code, which I used as a base for implementing the rest of the system


http://www.mesasoftware.com/seminars/200...

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