![]() |
Zig Zag indicator |
Post Reply ![]() |
Page <12 |
Author | |
Andrzej ![]() Newbie ![]() Joined: 01 Feb 2006 Posts: 9 |
![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
Page <12 |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |