PDA

View Full Version : position flat trading 2 strategies on same instrument


ceesvh
08-16-2007, 08:40 AM
Hi,

I have 2 strategies which I would like to run at the same instrument.
In both strategies one of the entry conditions is
if(Position.MarketPosition==MarketPosition.Flat)

My questions are

a) When I run both strategies at the same chart and I have a position in one strategy how is the condition Position.MarketPosition==MarketPosition.Flat for the other strategy evaluated by NT. Am I flat or do I have a position?

b) When I run the strategies on separate charts. Does a position in one strategy influence that entry condition of the other strategy.

NinjaTrader_Dierk
08-16-2007, 08:53 AM
Position.MarketPosition is the strategy and not the account position -> both strategies run independently.

Nathamus
08-29-2007, 01:47 PM
That was helpfull, thanks Dierk.
How do I access the Broker Position and check it the Broker Position is flat?
e.g. if (Position.Quantity != 0) { *something usefull* } ... ?

thx,
Nathamus

NinjaTrader_Dierk
08-29-2007, 01:48 PM
Unfortunately this is not supported.