This one has me scratching my head. I want to EnterLongLimit at the EMA, and have my Limit order update if the EMA rises.
if (goLong)
{
EnterLongLimit(EMA(8)[0], "Long 1a");
{
if (Position.MarketPosition == MarketPosition.Flat && EMA(8)[0] > EMA(8)[1]) EnterLongLimit(EMA(8)[0], "Long 1a");
}
}
Thanks!
Comment