I need to attach a limit order to an EMA by ninjascript. I´d like that when the price do something then a limit order is placed attached to the Ema.
EnterLongLimit(0, true, DefaultQuantity, EMA2[0], "live until cancelled long"); This is what I am using but when the order is placed, it does not follow the EMA and it keep in the same price where it
Comment