I would like to place orders only when my current position is flat.
I am using the below condition for that.
Position.MarketPosition == MarketPosition.Flat
I am using the ATMstrategy template names to place the orders within my strategy.
The strategy places the trade even though I am currently in a position.
Please help.
Comment