PureBytes Links
Trading Reference Links
|
Here is my first attempt to remove the Linear and then
the Sinusoidal trend.
I used a relatively slow oscillator, the
C1=MA(RSI(50),200) [the black line]
The sample was the recent 803 bars of DELL
For a curve y the criterion was to minimize the Cum(abs(y-C1))
for the whole range.
The Linear trend was yL=A+B*x
The sinusoidal trend was
yS=A0+B0*sin(2*pi*(1/per)*x+phi)
B0 is the amplitude
per is the period
phi is the phase [in this example was expressed in multiples
of pi/12]
The analysis give a fundamental period of 508 bars.[the green
line]
Due to the 2-parametric[for the linear] and 3-parametric
[for the sinusoidal] loops the result takes time to appear.
We need a faster method to study this interesting
subject !!
See in the att. gif the comparison of amibroker [first approx]
graph with the final DADiSP [using FFT] graph.
Dimitris Tsokakis
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 Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
Attachment:
11fit.gif
Attachment:
Description: "Description: GIF image"
|