PDA

View Full Version : Add second symbol of same PeriodType, Period


Folls
10-10-2007, 07:05 PM
Hello,

Is it possible to use Add(string instrument, PeriodType periodType, int period)
that somehow detects the periodType and period of the first instrument and uses that. Then, I can install it on any chart and not have to worry.

Thanks,

Folls

NinjaTrader_Dierk
10-10-2007, 11:24 PM
Please try BarsPeriod.Id and BarsPeriod.Value

Folls
10-11-2007, 05:59 PM
Thanks. It worked.

Folls