Add(item.ToString(),BarsPeriod.BasePeriodType,Bars Period.Value)
BarsPeriod.Value is returning the correct number, but Bars.Period.BasePeriodType always returns minutes. Is there a way around this? We had read in another forum post that the Add function does not allow dynamic input when use with Ninja Script, however, the BarsPeriod.Value is allowing it. Any solutions?
Comment