Traders' Tips from TASC Magazine

TrendIV & Volume - Buy 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);
dllong:=If(temp1<>-1 AND temp2<>-1, Int(rlen1-(.5*rlen2*(curIV-lowIV)/temp1)+(avVol-lowVol)/temp2),PREV);

H>HHV(Ref(H,-1),LastValue(dllong+PREV-PREV))


Contents