Skip to main content

Relative Vigor Index for Metastock

vargasc1 almost 15 years ago Metastock

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    metastock, oscillator

Trader Tips – Janurary 2002 – S & C Magazine
The Relative Vigor Index (RVI), presented by John Ehlers in his article in this issue, can be easily recreated in MetaStock 6.52 or higher. To recreate the RVI in MetaStock, select the Indicator Builder from the Tools menu, then click “New” and enter the following formula:

Indicator / Formula

Copy & Paste Friendly
ti:=Input("length",2,20,10);

v1:=((C-O)+(2*Ref(C-O,-1))+(2*Ref(C-O,-2))+Ref(C-O,-3))/6;

v2:=((H-L)+(2*Ref(H-L,-1))+(2*Ref(H-L,-2))+Ref(H-L,-3))/6;

temp:=If(Sum(v2,ti)=0,0.0001,Sum(v2,ti));

rv:=Sum(v1,ti)/temp;

rvsig:= (rv+Ref(2*rv,-1)+Ref(2*rv,-2)+Ref(rv,-3))/6;

rv;

rvsig

0 comments

Leave Comment

Please login here to leave a comment.