HAI,
Can anyone in the group help me out to place the underlying formula in an excel sheet,i mean the moment i place OPEN,HIGH,LOW & CLOSE then this formula should calulate and gv me out the results.
pr:=Input("Elliot Wave minimum % move",
.001,100,2);
{ Elliot Wave engine }
EWpk:=PeakBars(1,H,pr)=0;
EWtr:=TroughBars(1,L,pr)=0;
zz:=Zig(C,pr,%);
zzHi:=Zig(H,pr,%);
zzLo:=Zig(L,pr,%);
avg:=(zzHi+zzLo)/2;
RetroSuccessSecret:=If(EWpk,zzHi,
If(EWtr,zzLo,If(avg>Ref(avg,-1),H,L)));
EW:=Zig(RetroSuccessSecret,pr,%);
{ Buy/Sell Elliot Wave stuff }
EWbuy:=TroughBars(1,EW,pr)=0;
EWsell:=PeakBars(1,EW,pr)=0;
{ Plot on own window }
EWbuy-EWsell