I've been tinkering with this thing all night, and I finally figured out that the strategy tester will call onUpdateBar for each of the bars added and that this happens in an ordered fashion for each bar class added. If I do an "EnterShort" or "EnterLong", why does NT default to trading under the asset for the current bar? If I do an Add( "SLV", PeriodType.Day, 1 ) to a chart that has "GLD" on it, but I can't actually compute the results of my calculation until the close of SLV -after- the close of GLD, then how can I go back and trade GLD again? I see my output flagging trades left and right from Print statements, but the strategy tester engine doesn't pick up on any of it if I do an Add( "GLD" ... ) again. I'll have to go post this over on their forums, but I'm trying this platform on the recommendations of others in this forum, so I'm hoping someone can through some help my way.
If you have not done so already, read this overview on multi-series strategies - http://www.ninjatrader-support.com/HelpGuideV6/MultiTimeFrameInstruments.html Then post your question in our forum, it will be the best location to have your questions answered.
Ray, thanks for the help. I figured out what I wanted to do, but I would like to urge you at NT to really clarify that page. It took a few executions and iterations to figure out what exactly that diagram was talking about with the "cyan and blue" bars stuff. The other issue I am curious about is how to take this multi-asset stuff and use it for indicators. Is it possible to do that? (And yes, I will move over to your forum.)
We are in the process of overhauling our documentation for NT7 which will include multi-series indicator support which NT 6.5 does not have.