I´d like to know how to add a variable numbers of new bars object if I need them in order to do certain statisticals, instead just to add them just a fix numbers at first of the code. I mean: let´s say that for certain month I´d like to evaluate 3 different bars object but for the next month I´d need 4 one.
The normal way is setting them is like this:
protected override void Initialize()
{
Add("$EURUSD", PeriodType.Tick, x); // adding #1
Add("$EURUSD", PeriodType.Tick, x); // adding #2
But I´d like to be able to add them dynamically for optimization, 2, 3...etc etc
If not, is there any procedure or function in a library that I can use it?
Thanks
Comment