PureBytes Links
Trading Reference Links
|
Corey,
I ran your initial code ....
First, for test mode should be using price =
SWCycle. Your statement Price = SWGen was initially correct, but modified code
so I can test in burst mode of just a few cycles ... so pls change your copy
...
Also, the filtering is pretty hefty, so the useful
range is 8 to 10 periods at low end to about 40+ at upper end...
The screen shot has three lines:
Brown line: Test input - 25 period sine
wave
Red Line : detected cycle period. - Has way
too much ripple. Should be pretty much of a straight line.
Blue Line : Detected Phase. - Should be a
sawtooth pattern. This is where I had problems also.
For what it's worth, I attached my AFL code.
So, there is some trickiness to this
translation...
Sorry can not take too mre time now ... have to
deal with taxes...
Ara
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 the Yahoo! Terms of Service.
Attachment:
Chart.png
Description: PNG image
Attachment:
Attachment:
Description: "Description: Binary data"
Attachment:
Description: "DEV - Ehler Cyber SineWave.afl"
|