PDA

View Full Version : CurrentBid of multiple instruments?


FireFly
06-11-2007, 02:15 AM
Can I access the CurrentBid of multiple instruments within a strategy?

I see that I can access the CurrentBid with "Bars.CurrentBid", but can I do that for multiple instruments within a strategy, like I can access the close, high, low etc of multimple instruments?

NinjaTrader_Dierk
06-11-2007, 02:20 AM
>>> but can I do that for multiple instruments within a strategy
BarsArray[<seriesNumber>].CurrentBid

>>> close, high, low etc of multimple instruments
Closes[[<seriesNumber>][<barsAgo>]

FireFly
06-11-2007, 05:35 AM
Multiple instruments can only be used in a strategy, not in an indicator.
Correct?

NinjaTrader_Dierk
06-11-2007, 05:45 AM
That is correct