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

Notification

Icon
Error

Options
Go to last post Go to first unread
KTP2  
#1 Posted : Monday, November 17, 2008 2:54:47 PM(UTC)
KTP2

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/2/2007(UTC)
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

TrendIV and 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))

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.