Traders' Tips from TASC Magazine

TrendIV & Volume - Sell Signal

rlen1:=29;
rlen2:=25;
lbIV:=252;
lbVol:=50;
curIV:=Security(".vix",C);
lowIV:=Security(".vix",LLV(C,lbIV));
hiIV:=Security(".vix",HHV(C,lbIV));
avVol:=Mov(V,10,S);
lowVol:=LLV(V,lbVol);
hiVol:=HHV(V,lbVol);
temp1:=If(hiIV-lowIV<>0,hiIV-lowIV, -1);
temp2:=If(hiVol-lowVol<>0,hiVol-lowVol, -1);
dlshort:=If(temp1<>-1 AND temp2<>-1, Int(rlen1-(.5*rlen2*(hiIV-curIV)/temp1)+(hiVol-avVol)/temp2),PREV);

L<LLV(Ref(L,-1),LastValue(dlshort+PREV-PREV));


Contents

Sign in to MetaStock.com