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

Re: [amibroker] simplest way to detect a reversal of direction in an indicator



PureBytes Links

Trading Reference Links

Dave,

Definitive answer on Zig is included in the User's Guide, AFL reference:
http://www.amibroker.com/guide/afl/afl_view.php?name=ZIG

Caveat: this function is based on Zig-Zag indicator and may look into the future - this means that you can get **unrealistic
results** when back testing trading system using this indicator. This function is provided rather for pattern and trend recognition
formulas

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Dave Merrill" <dmerrill@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, August 25, 2003 5:09 PM
Subject: RE: [amibroker] simplest way to detect a reversal of direction in an indicator


> hmmm. I guess I'm not sure how to know when zig-related functions are ok to
> use and when they're not. I do understand how AFL code can look into the
> future; even something as simple as Ref(C, 15) gets you closing price from a
> future date.
>
> I know there's lots of talk in the list archive about this, but I never
> found a conclusive statement about when zig was legitimate for current
> trading and when it wasn't. TJ, or someone, could we have a genuine
> statement on how to tell?
>
> I still think there must be a non-zig answer to my original quesiton about
> detecting simple reversals of direction. any takers?
>
> thanks,
>
> dave
>
> > I realsie that there are limitations on the use of zig, but if you are
> > looking for a change of direction, it can be used successfully. I actually
> > do not understand how something can look into the future, and my use of
> > peaks/troughs has shown me that it sets the last change in
> > direction at that
> > time and this does not move. Only the last, most recent leg
> > remains flexible
> > as it follows the current price, until that preset change is
> > made. This then
> > sets the highest/lowest when this occurred, and continues with a new leg.
> > I have used it successfully in my support/resistance levels using
> > peaks/troughs of the RSI indicator.
>
>
>
> 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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/