Can an Array (or List or something similar) be an input parameter? As an example - I want to add an input parameter:
- 'number of SMA' as Int
- list_SMAPeriods<int>()
if 'number of MA' = 10 - the Strategy should redefine the size for 'list_SMAPeriods' list as 10 (probably using 'BaseConverter' after the 'number of SMA' is changed) and I will be able to specify 10 periods from the input parameters.
if 'number of MA' = 30 - the Strategy should redefine the size for 'list_SMAPeriods' list as 30 (probably using 'BaseConverter' after the 'number of SMA' is changed) and I will be able to specify 30 periods from the input parameters.
Is this feasible?

Comment