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

Re: [amibroker] Trouble with FT data



PureBytes Links

Trading Reference Links

Hello,

After looking at the code a bit more could I suggest the following 
minor modifications?

Change
 
if( i>0 AND i<BarCount-2 AND H[i]>=H[i-1] AND H[i]>=H[i+1] )

to

if( i>0 AND i<BarCount-2 AND H[i]>H[i-1] AND H[i]>=H[i+1] )

And change
 
if( i>0 AND i<BarCount-2 AND L[i]<=L[i-1] AND L[i]<=L[i+1] )

to

if( i>0 AND i<BarCount-2 AND L[i]<L[i-1] AND L[i]<=L[i+1] )

This seems to pick up a few more peaks and troughs.  

Aequalsz




--- In amibroker@xxxxxxxxxxxxxxx, "aequalsz" <aequalsz@xxxx> wrote:
> Hello,
> 
> Thanks for uploading the box.dll to the 3rd party.  I checked the 
> two versions against one another and found definite differences.  
I 
> used a 10% retracement value since that made for easier 
> comparisons.  What gets kind of fuzzy is when viewing a volatile 
> stock that varies more than 10% up and down in a single day (using 
> daily data only).  My final conclusion is (for now anyway) that 
one 
> man's zig is another man's zag.  :-)  Similar to the P&F code, 
there 
> are many methods to implement these ideas.  So I would urge 
everyone 
> to modify the High-Low Zigzag code as he (or she) sees fit.  
Thanks 
> again.
> 
> Aequalsz
>   
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset" 
> <s.carrasset@xxxx> wrote:
> > yes please, I come to upload the box.dll in the 3rd party right 
now
> > http://www.amibroker.net/3rdparty.php
> > 
> > the afl code
> > GraphXSpace=1;
> > 
> > Title = Name() + "\n Swing Per" ;
> > 
> > per=Param( "n", 7, 3, 50, 1 ); 
> > 
> > SetBarsRequired(10000,10000);
> > 
> > Plot(Close,"close",1,64);
> > 
> > Plot(scZigHiLo(per),"",2,1);
> > 
> > 
> > 
> > stephane
> > 
> >   ----- Original Message ----- 
> >   From: aequalsz 
> >   To: amibroker@xxxxxxxxxxxxxxx 
> >   Sent: Friday, July 23, 2004 6:30 PM
> >   Subject: [amibroker] Re: Reverse engineering eSignal ZigZag 
code
> > 
> > 
> >   Stephane,
> > 
> >   Already got my High-Low ZigZag code working and it looks 
correct 
> to
> >   me.  But will check it against your code if you want.
> > 
> >   Aequalsz
> >



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/