[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Safe to use Peak in backtesting ?



PureBytes Links

Trading Reference Links

You will find that peak and trough do not register the last leg of the
movement that has not made a new change point.
I use it successfully

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia

-----Original Message-----
From: hmab1 [mailto:hossamb@xxxxxxxxxxxx] 
Sent: Thursday, 5 June 2003 2:09 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Safe to use Peak in backtesting ?

Hello,

I would like to AFL's Peak function with a 3% change parameter to 
determine the last peak.  Since Peak depends on Zig, when is it safe 
(i.e. not looking into the future) to use Peak ?  I.e. when would it 
be ok to use Peak function in a backtest ?

Is the answer = it is safe to use Peak(C, 3, 1) if we are sure that 
at least a 3% change (up or down) has occured in the price since the 
peak ?

Thanks,
HB



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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/