cheatcountry

Ehlers Discrete Fourier Transform

The Discrete Fourier Transform Indicator was written by John Ehlers and more details can be found at https://www.mesasoftware.com/papers/FourierTransformForTraders.pdf

I have color coded everything as follows: blue line is the dominant cycle, orange line is the power converted to decibels, and I have marked the other line as red if you should sell or green if you should buy

Let me know if you would like to see me write any other scripts!
Phát hành các Ghi chú: updated to match my other indicators
Phát hành các Ghi chú: fixed issue with default resolution
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Bình luận

Good night, my name is Sebastián, and I have graduated as Electronics Engineer several years ago. I would like to share ideas with you because this topic was sounding in my mind as well.

I can explain more in a call, but my guts tell me that:
-Fourier Series and FFT/DFT are good for guessing the "frequencies", but not so good to estimate the equivalent of a "non constant" mean value.
-somehow we need to remove the "DC" value which is also fluctuating, but we could estimate as a straight line, with a growth coefficient. This could be interesting for a short region only after the current values.

please let me know if you have some time to talk. My programming skills are not so good.

Best regards.
Sebastián
+1 Phản hồi
Good script! But Ehlers said this should only be used in relation to the decibel (i.e DB > 10 to detect a proper signal) across many lookback periods. That's why I think he used a DFT heatmap so he can look at many periods to determine at which period DB>10. Otherwise he said DFT is not reliable.
Phản hồi
Very nice, thank you for sharing this. Interested to backest if you make a strategy.
Phản hồi
Thx could better be a strategy script
Phản hồi
@MeTu2018, you want to see a strategy script version of this?
Phản hồi
MeTu2018 cheatcountry
@cheatcountry, yes brother. Script becomes grail
Phản hồi
@MeTu2018, I will add that to my list of upcoming scripts for you
Phản hồi
MeTu2018 cheatcountry
@cheatcountry, thx bro
Phản hồi
@MeTu2018, yw
Phản hồi
Hi
Good job !!!
How to use orange and blue indicator
Thanks
Phản hồi