AtmStrategyCreate(Cbi.OrderAction.Buy, OrderType.Limit, limitPriceLong,0 , TimeInForce.Day, orderId, "ATM1", atmStrategyId);
if (Position.MarketPosition == MarketPosition.Long)
{Print (" You are LONG ");}
else if (Close[0]> 1) // for testing only
{Print (" You should not be seeing this line if you are in a Long Position");}

Comment