Description Usage Arguments Value
Calculates an indicator, and adds it to a column in each security's timeseries data.
1 | add_indicator(strategy_object, indicator_name, generator, generator_args)
|
strategy_object |
a strategy object |
indicator_name |
the desired column name of the indicator, used to build signals |
generator |
the function used to generate the indicator value |
generator_args |
a named list of parameters to use with the generator function |
a strategy object with indicator applied to all securities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.