Cycle Indicator by Bill Irwin for Metastock
Double smoothed stochastic 10 period, denominators defined to eliminate divide by zero errors.
Indicator / Formula
Copy & Paste Friendly
Period:= 10;
denom1:= If(HHV(H,Period)-LLV(L,Period)>0, HHV(H,Period)-LLV(L,Period), 1);
P1:= Mov(((C-LLV(L,Period))/ denom1)*100,3,E);
denom2 := If(HHV(P1,Period)-LLV(P1,Period)>0, HHV(P1,Period)-LLV(P1,Period), 1);
Mov(((P1-LLV(P1,Period))/denom2)*100,3,E)
0 comments
Leave Comment
Please login here to leave a comment.