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

Re: [EquisMetaStock Group] Re: zigzag for intraday



PureBytes Links

Trading Reference Links

Hi Al, Jose

This formula is set to a default of 5% for a reversal to be effective. Changing the default value to 
a much smaller number before attempting to use it on intraday charts might be worthwhile.

Kind regards

Roy Larsen
www.metastocktips.co.nz
Free formulas and MS links





----- Original Message ----- 
From: "Jose" <josesilva22@xxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Monday, December 06, 2004 2:56 AM
Subject: [EquisMetaStock Group] Re: zigzag for intraday


>
>
> Al, if you are referring to the ZigZag code below, it should also work
> on 5 min charts.
>
> jose '-)
>
>
> ==============
> ZigZag - Hi/Lo
> ==============
> ---8<---------------------------
>
> { High/Low ZigZag v1.0 }
> { Plot on price chart }
> { ©Copyright 2004 Jose Silva }
> { http://users.bigpond.com/prominex/pegasus.htm }
>
> pr:=Input("ZigZag reversal amount",
> 0.001,100000,5);
> choose:=Input("[1]Hi/Lo ZigZag,  [2]Close ZZ,  [3]Peaks/Troughs",1,3,
> 1);
>
> pk:=PeakBars(1,H,pr)=0;
> tr:=TroughBars(1,L,pr)=0;
> pktr:=pk-tr;
>
> zz:=Zig(C,pr,%);
> zzHi:=Zig(H,pr,%);
> zzLo:=Zig(L,pr,%);
> avg:=(zzHi+zzLo)/2;
>
> x:=
> If(pk,zzHi,If(tr,zzLo,If(avg>Ref(avg,-1),H,L)));
> zzHiLo:=Zig(x,pr,%);
>
> If(choose=1,zzHiLo,If(choose=2,zz,pktr))
>
> ---8<---------------------------
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, elnaseer dina <zebra7860@xxxx>
> wrote:
>> Hello,
>>
>> A while ago Jose developed the zigzag code for EOD charts but now I
>> wish to employ the Zigzag for my intraday ( 5 min) charts to
>> identify swing highs and lows.
>>
>> Does anybody have a code that can accomplish this?
>>
>> I would certainly appreciate the help.
>>
>> Thanks,
>> Al
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

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