Description Usage Arguments Value References
computes a ratio of an n1-day volatility to an n1-lagged n2-day volatility.
1 |
x |
a time series |
n1 |
a lookback period for the first rolling standard deviation and lag for the second standard deviation |
n2 |
a lookback period for the second standard deviation |
sample |
whether or not to use a sample calculation or population calculation for standard deviation |
a volatility ratio
https://cssanalytics.wordpress.com/2010/11/18/310-offset-hv-as-a-mean-reversion-filter/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.