Creates a distribution in paramset, where a distribution consists of the name of a variable in a strategy component plus a range of values for this variable.
add.distribution(strategy, paramset.label, component.type, component.label,
variable, weight = NULL, label, store = TRUE)
the name of the strategy object to add the distribution to
a label uniquely identifying the paramset within the strategy
one of c('indicator', 'signal', 'order', 'enter', 'exit', 'chain')
a label identifying the component. must be unique per component type
the name of the variable in the component
vector
a label uniquely identifying the distribution within the paramset
indicates whether to store the strategy in the .strategy environment
add.distribution.constraint
,
delete.paramset
,
apply.paramset