RVI – Relative Vigor Index ?
Forums › ProRealTime English forum › ProBuilder support › RVI – Relative Vigor Index ?
- This topic has 5 replies, 4 voices, and was last updated 5 years ago by GraHal.
-
-
07/17/2017 at 11:33 AM #40852
I have found a reference to this oscillator here: http://www.traderpedia.it/wiki/index.php/Formula_Relative_Volatility_Index_(RVI)
It is written in italian, but this is the translation:
“Confirmation indicator that highlights the trend. It is normally used to confirm RSI signals By examining volatility. The following formula comes from the article “The relative volatility index,” written by Dorsey, Donald, in June 93 Published by Technical Analysis of STOCKS & COMMODITIES. Category: Volatility Formula for MetaStock ™:
INIZIO FORMULE
§ RVI Down
((PREV*13)+If(ROC(C,1,%)<0,Stdev(C,10),0))/14
§ RVI Up
((PREV*13)+If(ROC(C,1,%)>0,Stdev(C,10),0))/14
§ RVI
(100*Fml(“§ RVI Up”))/(Fml(“§ RVI Up”)+Fml(“§ RVI Down”))
FINE FORMULE”Can it be converted to PRT code?
Many thanks.
07/17/2017 at 2:29 PM #40873AVT replied here: https://www.prorealcode.com/topic/trading-the-5-min-bar/
I never used that oscillator before, nor I ever heard of it, will that code do?
07/21/2017 at 10:27 AM #41264I also found this: https://www.mql5.com/en/code/8035
Can anyhone translate it to PRT?
Thanks.
Roberto
07/21/2017 at 10:32 AM #41266Found this code in the prorealtime official website:
1234567891011121314151617181920REM Relative Vigor Index (RVI) by John EhlersREM Paramètres : Per1 = période de la sommation (12 par défaut)diff = close - openind1 = (diff + 2*diff[1] + 2*diff[2] + diff[3]) / 6ind2 = (Range + 2*Range[1] + 2*Range[2] + Range[3]) / 6cond = Summation[per](ind2)IF cond = 0 THENtemp = 0.0001ELSEtemp = condENDIFRVI = Summation[per](ind1) / tempRVIsig = (RVI + 2*RVI[1] + 2*RVI[2] + RVI[3]) / 6RETURN RVI COLOURED (255, 0, 0) AS"Relative Vigor Index", RVIsig COLOURED (0, 0, 255) AS"Relative Vigor Index Signal"3 users thanked author for this post.
04/22/2019 at 11:57 AM #9693004/22/2019 at 1:28 PM #96935 -
AuthorPosts
Find exclusive trading pro-tools on