Let's assume that the chart is running a 2-minute time interval. So my primary bars will be of a 2-minute data set. I now want to add a 5 minute bars object so I code:
Add(PeriodType.Minute, 5);
Now I add another a 1 minute bars object. So
Add(PeriodType.Minute, 1);
Is this legal? Can I add a bars object whose time frame is smaller than the primary bars?
I am assuming that I could not go to a Tick or Volume because those would be considered smaller than a 1-minute. Correct?
Let's go in the other direction. My primary bars are Tick. Can I add a 2 minute bars object:
Add(PeriodType.Minute, 2);
Or am I limited to adding bars object that are either Tick or Volume?
Thanks,
Comment