-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Relative Vigor Index #160
Labels
Comments
jealous
added a commit
that referenced
this issue
Jun 24, 2023
The Relative Vigor Index (RVI) is a momentum indicator used in technical analysis that measures the strength of a trend by comparing a security's closing price to its trading range while smoothing the results using a simple moving average (SMA). https://www.investopedia.com/terms/r/relative_vigor_index.asp Formular * NUMERATOR= (a+(2×b)+(2×c)+d) / 6 * DENOMINATOR= (e+(2×f)+(2×g)+h) / 6 * RVI= SMA-N of DENOMINATOR / SMA-N of NUMERATOR * Signal Line = (RVI+(2×i)+(2×j)+k) / 6 where: * a=Close−Open * b=Close−Open One Bar Prior to a * c=Close−Open One Bar Prior to b * d=Close−Open One Bar Prior to c * e=High−Low of Bar a * f=High−Low of Bar b * g=High−Low of Bar c * h=High−Low of Bar d * i=RVI Value One Bar Prior * j=RVI Value One Bar Prior to i * k=RVI Value One Bar Prior to j * N=Minutes/Hours/Days/Weeks/Months Examples: * `df['rvgi']` retrieves the RVGI line of window 14 * `df['rvgis']` retrieves the RVGI signal line of window 14 * `df['rvgi_5']` retrieves the RVGI line of window 5 * `df['rvgis_5']` retrieves the RVGI signal line of window 5
jealous
added a commit
that referenced
this issue
Jun 24, 2023
The Relative Vigor Index (RVI) is a momentum indicator used in technical analysis that measures the strength of a trend by comparing a security's closing price to its trading range while smoothing the results using a simple moving average (SMA). https://www.investopedia.com/terms/r/relative_vigor_index.asp Formular * NUMERATOR= (a+(2×b)+(2×c)+d) / 6 * DENOMINATOR= (e+(2×f)+(2×g)+h) / 6 * RVI= SMA-N of DENOMINATOR / SMA-N of NUMERATOR * Signal Line = (RVI+(2×i)+(2×j)+k) / 6 where: * a=Close−Open * b=Close−Open One Bar Prior to a * c=Close−Open One Bar Prior to b * d=Close−Open One Bar Prior to c * e=High−Low of Bar a * f=High−Low of Bar b * g=High−Low of Bar c * h=High−Low of Bar d * i=RVI Value One Bar Prior * j=RVI Value One Bar Prior to i * k=RVI Value One Bar Prior to j * N=Minutes/Hours/Days/Weeks/Months Examples: * `df['rvgi']` retrieves the RVGI line of window 14 * `df['rvgis']` retrieves the RVGI signal line of window 14 * `df['rvgi_5']` retrieves the RVGI line of window 5 * `df['rvgis_5']` retrieves the RVGI signal line of window 5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Relative Vigor Index (RVI) is a momentum indicator
used in technical analysis that measures the strength
of a trend by comparing a security's closing price to
its trading range while smoothing the results using a
simple moving average (SMA).
https://www.investopedia.com/terms/r/relative_vigor_index.asp
Formular
where:
Examples:
df['rvgi']
retrieves the RVGI line of window 14df['rvgis']
retrieves the RVGI signal line of window 14df['rvgi_5']
retrieves the RVGI line of window 5df['rvgis_5']
retrieves the RVGI signal line of window 5The text was updated successfully, but these errors were encountered: