double limitprice
After OnBarUpdate I have:
limitprice=Bollinger(0.50, 28).Lower[0] - 3* TickSize;
after my if statement:
{AtmStrategyCreate(OrderAction.Sell, OrderType.Limit, limitprice, 0,
TimeInForce.Day, GetAtmStrategyUniqueId(), "Trade1",
GetAtmStrategyUniqueId());}
I get no error messages but the order does not fire...
If I change the OrderType to Market and the limitprice to 0 the code works. But I don't want a market order...I want a limit order 3 ticks below the Lower Bollinger Band.
What am I missing? The only coded example in Ninja Help was for a market order...so, please don't refer me there. Thanks in advance.
Comment