Description Usage Arguments Examples
View source: R/rules_indicators.R
This indicator will be calculated each time when spread update coefs indicators must return data.frame or matrix or array
1 2 3 4 | addIndicator(this, args, as, lookback, ...)
## S3 method for class 'modelStrategy'
addIndicator(this, args, as, lookback, ...)
|
this |
model |
args |
list, the first argument should be name, it should be equal to function (your indicator), other arguments of list will be passed to this function |
as |
character, local name of this indicator |
lookback |
numeric, how many points does it need to do calculation |
... |
addtional params |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.