logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
dimpledbrain  
#1 Posted : Sunday, September 15, 2013 1:50:12 AM(UTC)
dimpledbrain

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/7/2013(UTC)
Posts: 17

Thanks: 5 times

Hi there,

i'm looking at this formula http://forum.equis.com/forums/thread/9921.aspx, i.e. complete zigzag indicator toolkit.

how can i plot this indicator correctly? and what does it do?

(1) when i insert the whole formula into my indicator builder and open in a new chart window, there are 5 parameters that i need to enter:

(2) say i set min reversal amount as 2, and method based on points, how should i set the criteria for the next 3 parameters?

(3) what is weighted close (wclose) and price variance (pvar)?

(4) what is nth peak/trough?

(5) what is Peaks/Troughs: [1]Values, [2]Signals, [3]ZigZagPeaks/Troughs: [1]Values, [2]Signals, [3]ZigZag

(6) is the output just 2 lines?

Thanks! dbv

ping2962  
#2 Posted : Sunday, September 15, 2013 3:18:02 AM(UTC)
ping2962

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 7/18/2013(UTC)
Posts: 2
Location: Thailand

(1)This is indicator relate Peak/Trough/ZigZag Function
Peak(Nth, Data Array, %Minimum Change)
Trough(Nth, Data Array, %Minimum Change)
zig(Data Array, Minimum Change,Diff Method)

(2)Normal I choose
Min reversal amount: 1-10,Method: [2]%,[4]close,1st Peak/Trough, Peaks/Troughs? look next answer

(3)wc() function
Weighted Close = (Close*2+High+Low)/4 (average price with extra weight of close price)

P variable
We can use this indicator on other data array

(4)Nth in Peak/Trough Function ->look like Shifting Peak/Trough Value channel
SYNTAX Peak(Nth, Data Array, %Minimum Change)Nth _ The number of the peak you wish to refer to. For example, N = 1 would return the value of the most recent peak in the data array, and N = 2 would return the value of the peak before that one.

(5)[1]Value -> plot 2lines of Peak Value and Trough Value
[2]Signal ->plot 2lines of Peak plot 1 and Trough plot -1

(6)if u choose [3]ZigZag then it plot zz(look like 1 line) else plot 2lines.

{ Plot ZigZag/Peaks/Troughs on chart,
Peak & Trough signals in own window }
If(plot=1,pkVal,If(plot=2,pk,zz)); <---Line1
If(plot=1,trVal,If(plot=2,-tr,zz)) <---Line2

The End

dimpledbrain  
#3 Posted : Sunday, September 15, 2013 3:52:36 AM(UTC)
dimpledbrain

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/7/2013(UTC)
Posts: 17

Thanks: 5 times

Hi ping

thanks for your reply...

hmm interesting

(1) when i select peaks/troughs #3 (zigzag) and plot it on the price chart it produces exactly like this formula i m currently using:


{ High/Low ZigZag v2.0

Copyright © 2004-2008 Jose Silva.
For personal use only.
Not for re-sale or redistribution.
http://www.metastocktools.com }

{ User inputs }
change:=Input("ZigZag minimum reversal amount",.001,100000,5);
method:=Input("Method: [1]$ points, [2]% percent",1,2,2);
choose:=Input("ZigZag based on: [1]Hi/Lo, [2]Close",1,2,1);

{ ZigZag }
diffHi:=H-Ref(H,-1);
diffLo:=Ref(L,-1)-L;
x:=If(diffLo>diffHi,L,H);
zzPts:=
If(choose=1,Zig(x,change,$),Zig(C,change,$));
zzPer:=
If(choose=1,Zig(x,change,%),Zig(C,change,%));
zz:=If(method=1,zzPts,zzPer);

{ Plot on price chart }
zz

However, nth peak/trough value doesn't seem to matter.

If i plot it on a separate window,

(1) if peaks/troughs = signal (#2), then nth peak/trough must be 1

(2) if peaks/troughs = values (#1), then nth peak/trough # will affect the result

I still don't quite get what the indicator is trying to do...

Users browsing this topic
Guest (Hidden)
Forum Jump  
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.