I am trying to Add() a second Bars object to the BarsArray in the Initialize() method per instructions in the help file. (Mulit-timeframe Strategy.) I want it to have the same PeriodType as the primary Bars object, but use a custom user-parameter for the actual period. So, like primary = 1500 tick, secondary = 4500 tick.
BarsArray[0].BarsType.PeriodType seems to provide the right value, but I can't access it from the Initialize() method because NT doesn't allow it (for good reason).
What is the right way to access this built-in user parameter for the primary Bars object from within the Initialize() method?
Thanks.
Scott

Comment