[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 Roy, Jose,
 
Well done, Roy!  I changed the default to .001,.020, etc before settling on .050 as the perfect zigzag indicator.
 
Now, I have to think about how to phrase the next question to this group.
 
Kind regards,
Al

Roy Larsen <rlarsen@xxxxxxxxxxxxxx> wrote:
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
>
>
>
>
>
>
>
>
>
>





Post your free ad now! Yahoo! Canada Personals

Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links