Description Usage Arguments Value See Also Examples
Creates a ranking of rate of change representing strength of asset returns.
Uses the TTR::ROC
function for rate-of-change value.
Applies the TTR::runSD
running standard deviations.
Computes strength as strength <- roc / rd
.
Uses the discrete ROC type.
1 | strength_ROC(x, roc_n = 3, sd_n = 3)
|
x |
price history as XTS, more than one column of asset prices. |
roc_n |
ROC lookback period in same periodicity as |
sd_n |
standard deviation moving window length; default 3. |
a row rank as determined by row_rank
row_rank, TTR::ROC, TTR::runSD
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.