PureBytes Links
Trading Reference Links
|
Hi Jose,
Hi Jose,
I don't think it does work. I highlighted the formula (within the dotted lines) into the indicator builder and then simply dragged it on to the chart and the bars do temporarily turn pink but then nothing happens. I tried the same indicator on an EOD chart and it works perfectly. Am I doing something wrong here? Any ideas?
Thanks,
Al
Jose <josesilva22@xxxxxxxxx> wrote:
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
Post your free ad now! Yahoo! Canada Personals
Yahoo! Groups Sponsor |
ADVERTISEMENT
| |
|
Yahoo! Groups Links
|