EnterLongLimit works fine, all of them execute, but NONE of my ExitLongLimit execute on the backtest on strategy analyzer.
If I switch the exit order to ExitLong, then the strategy works and all my long position is closed every time a bar closes above the moving average, But I want to exit with a limit order to make sure I'm not paying for the spread.
Again, NONE of my ExitLongLimit orders execute, only the buys.
What am I doing wrong?
Comment