BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Zig Zag indicator
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Zig Zag indicator

 Post Reply Post Reply Page  <12
Author
Message Reverse Sort Order / View First Unread Post
Andrzej View Drop Down
Newbie
Newbie


Joined: 01 Feb 2006
Posts: 9
Post Options Post Options   Quote Andrzej Quote  Post ReplyReply Direct Link To This Post Posted: 01 Apr 2011 at 6:38pm
Can anyone please help with comparing the last two peaks using zigzag function.
 
size:= 4;z:=zigzag(Close,size,%);
I am defining the last peak as:
ispeak1:=z>hist(z,1) and z>future(z,1);
Ispeak2:=z>hist(z,2) and z>future(z,2);
Then I want to compare ispeak1 against ispeak2.

filter := ispeak1 >ispeak2

However, it seems that values of variables ispeak1 and ispeak 2 are not defined, not present?. How can I get these variables to compare them , the same as variable z .
Thank you
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz