- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
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: |
|
Relative Vigor Index (RVI) by John Ehlers 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 |
| |
Source / From: |