PDA

View Full Version : question about this function


HelloHello
09-05-2007, 09:32 AM
value1 = NTBuyMarket(OrderName,100);

if NTMarketPosition ("") < 0 then this function should buy to cover correct????????

NinjaTrader_Ray
09-05-2007, 09:52 AM
NT functions take care of Buy or BuyToCover internally. So if you are short, and call NTBuyMarket() it will cover your short position.