I am attempting to Add() another series of data to my indicator, and would like the new series to be "synchronized" with the Primary, such that if the Primary is 1min, the series is 1min. If the chart changes to 3min, the new series also is 3min.
On the chart already: SPY 1min (Primary Bars)
In initialize:
Add("AAPL", PeriodType.Minute, 1);
I'd like it to work something like this...
Add("AAPL", BarsArray[0].BarsType, BarsArray[0].BarsType.Period);
..but can't seem to get it to work.
Comment