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

[amibroker] Re: zig zag question 2



PureBytes Links

Trading Reference Links


Check, for example, for the n=1 last quotations, with

per=3;
P=Cum(PeakBars(H,per)==0);
T=Cum(TroughBars(L,per)==0);
Filter=1;
AddColumn(P,"# of Peaks",1.0);
AddColumn(T,"# of Troughs",1.0);
AddTextColumn(WriteIf(Column0!=Column1,"*","")," * ");

Stocks with the same # for Peaks and Troughs are the exceptions, not 
the rule.
Dimitris
--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> 
wrote:
> 
> --- In amibroker@xxxxxxxxxxxxxxx, kaveman perth <kavemanperth@xxxx> 
> wrote:
> 
> > zig zag links togeher the Peak(H,x) and Trough(L,x) points
> 
> kaveman,
> Which zig does this job ?
> The zig(C,x), the zig(H,x) or the zig(L,x) ?
> Noone of these lines links the Peak(H,x) and Trough(L,x) points.
> I didnīt see your point...
> Note also that more than one troughs may exist between two 
successive 
> peaks. It is not that simple...
> Dimitris
> > On Tue, 09 Nov 2004 21:00:00 -0800, stockjunkie@xxxx
> > <stockjunkie@xxxx> wrote:
> > > 
> > > Thanks to everyone for your comments and efforts...
> > > 
> > > I must not be using the correct vernacular here to properly 
> describe
> > > what I am asking for...
> > > 
> > > As an example if i choose stocd() there is code that is linked 
to 
> and
> > > defines this function something like HH+LL/HH-LL  etc etc
> > > 
> > > Should I be asking for the code associated with the zigzag 
> function
> > > maybe?
> > > 
> > > I am looking for the code that defines and is linked to the 
zigzag
> > > function as shown in the example above...
> > > 
> > > JJ
> > > 
> > > 
> > > Check AmiBroker web page at:
> > > http://www.amibroker.com/
> > > 
> > > Check group FAQ at: 
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > -- 
> > Cheers
> > Graham
> > http://e-wire.net.au/~eb_kavan/





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/