This Study uses the Real Discrete Fourier Transform algorithm to generate 3 sinusoids possibly indicative of future price. I got information about this RDFT algorithm from "The Scientist and Engineer's Guide to Digital Signal Processing" By Steven W. Smith, Ph.D.
It has not been tested thoroughly yet, but it seems that that the RDFT isn't suited for predicting prices as the Frequency Domain Representation shows that the signal is similar to white noise, showing no significant peaks, indicative of very low periodicity of price movements.
Informacje o Wersji
⋅
There was a compiling error happening recently. Tradingview propably changed their compiler, as the code successfully compiled before. This update addresses that and fixes the error that was happening during compilation.
@dnjonson, I combine it with MFI-over-Stoch. It has increased my win ratio to 8/9 from 2/3
jonathanrang
⋅
@warren12882, realmente como lo usas? el autor dice que no lo encontro particularmente util
warren12882
⋅
@xyse , I notice something really interesting. XYSE, is it possible if you can create a modified version of this indicator, but instead of "pi" use "phi" instead. Pi is 3.14159265359, while Phi is 1.61803 then multiply by 2 to get 3.23606 (estimated). Been using this indicator for over 8 months, I combine it with MFI-over-Stoch, works like a charm. Been scalping for many years (mostly gold, eurusd and gbpusd), and this is the only indicators I use now.
warren12882
⋅
I notice something really interesting. XYSE, is it possible if you can create a modified version of this indicator, but instead of "pi" use "phi" instead. Pi is 3.14159265359, while Phi is 1.61803 then multiply by 2 to get 3.23606 (estimated). Been using this indicator for over 8 months, I combine it with MFI-over-Stoch, works like a charm. Been scalping for many years (mostly gold, eurusd and gbpusd), and this is the only indicators I use now.
salsaj
⋅
@warren12882, would that be the Stochastic MFI indicator ?
AudienceXP
⋅
Wonderful script! FFT does seem to work for 64 periods. How does the FFT indicator handle sine waves of different Cycle Periods for consecutive time cycles ? Appreciate, if you can refine Or, submit your view. Thanks, Timeseeker
AudienceXP
⋅
@AudienceXP, Hey, did you get time to check my earlier comments...love what you do...
xyse
⋅
@AudienceXP, I didn't really use it for my trading as I didn't seem to find it to be particularly useful. Can't really comment on that. I suggest you try it and if you have any interesting findings feel free to message me. Just decided to publish the script as there was no open-source fourier transform available on tradingview at the time of I wrote the script - thought it might be fun to try and implement it in pine script. Left it as a resource for coders to build upon in case anyone might need the code for their project. Best of luck for trading and have a good day, sir. Sorry for the late response I'm a lazy mf.