PDA

View Full Version : multiple charts - one strategy - marketposition


funk101
03-30-2007, 02:59 AM
Ok, multiple charts running same strategy; Say if the 'EURO' see's a buy signal, and the strategy tests for:

if (Position.MarketPosition == MarketPosition.Flat) {

doLong();

}

will the 'ER2' see MarketPosition.Long ?

NinjaTrader_Ray
03-30-2007, 03:01 AM
No it will not since the Strategy.Position is local in scope to the Instrument the strategy is running on.

Ray