PureBytes Links
Trading Reference Links
|
Tomasz,
Thank you for your comment.
As you see from the AFL code, I detrend first and then analyse in
Fourier terms.
The same is in DaDisp FFT.
I just present the final result in the full form, for visual purposes
[adding again, before the end, the detrend factor].
The AFL code is already in the files section.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Dimitris,
>
> One suggestion: before applying FFT (or any other kind of fourier
transform)
> you should apply detrending because doing so leads to much better
results.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: Dimitris Tsokakis
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Friday, May 14, 2004 12:39 PM
> Subject: [amibroker] EFA vs FFT
>
>
> Here is another comparison of the EFA [Elementary Fourier
Analysis] versus the FFT [Fast Fourier Transformation].
> In FFT I used the 7 most significant terms, filtering out the
amplitude>0.05.
> In EFA I used the fundamental period P and the harmonics P/2,
P/3, P/4 and P/5.
> The visual [and the detailed] comparison is obvious.
> Since FFT prefers 2^n bars [256, 512, 1024 etc], it has a lot of
problems after the first 512 bars.
> [my sample was an 921-bar smoothed Nikkei RSI]
> Dimitris Tsokakis
> [I used DaDisp_SE2000 for FFT and Amibroker 4.50 for EFA ]
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
> --------------------------------------------------------------------
----------
> Yahoo! Groups Links
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> b.. To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|