Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Relative Volatility Index (RVI) -Correct Version for Amibroker (AFL)
This is correct version of Relative Volatility Index (RVI).
The Relative Volatility Index (RVI) is similar to the Relative Strength Index (RSI) index. Both measure the direction of volatility, but RVI uses the standard deviation of price changes in its calculations, while RSI uses the absolute price changes. The RVI is best used as a confirmation indicator to other momentum and/or trend-following indicators.
Indicator / Formula
xPrice = ParamField("Price",3); Period = Param("Period",10,1,100,1); SD10=StDev(xPrice,Period); upward = (xPrice > Ref(xPrice,-1)) * SD10; downward = (xPrice < Ref(xPrice,-1)) * SD10; upwardMA = wilders(upward,Period); downwardMA = wilders(downward,Period); RV = upwardMA / downwardMA; myRVI = 100 - 100 / (1 + RV); Plot(myRVI,"Rvi",Colorred,styleLine|styleThick); PlotGrid(0,ColorRGB(160,32,240)); PlotGrid(20,Colorred); PlotGrid(80,Colorgreen);
1 comments
Leave Comment
Please login here to leave a comment.
Back
Good, thank you.