I'm trying to get ninjascript to use limit orders in automation... I copied the code from the help menu, but keep getting error messages (CS1501). Here is the code I replaced
EnterLong(DefaultQuantity, "LMA"))
{
EnterLongLimit(GetCurrentBid(DefaultQuantity, "Long CMA331"));
}
EnterLongLimit(GerCurrentBid());
I think I'm just doing it wrong. How can I get my Ninjascript strategy to use limit orders instead of market orders during automated trading?

Comment