VagyokC4
10-27-2007, 12:24 AM
How can I query the time frame the strategy is running on in code?
NinjaTrader_Josh
10-27-2007, 12:27 AM
You can use BarsPeriod.Id and BarsPeriod.Value
http://www.ninjatrader-support.com/HelpGuideV6/Period.html
And as an example, see the last line of my Initialize() method in this thread...
http://www.ninjatrader-support.com/vb/showthread.php?t=3770