So I'm trying to build a simple MA strategy which is based on a Fast Ma crossing a Slow Ma, then a buy/sell on a Mid Ma.
Now the strategy is working but sometimes the automated strategy submits the order in the opposite direction.
Here are the inputs for going long, the same but then opposite for going short.
Also a screenshot of the order going the wrong direction, Ma's going short but the strategy submits a long order.
Can anyone help me figuring out why it does that?
Comment