I have a condition of a crossing of 2 EMA, cross above must allow only Long and cross below must allow only short.
But I can see also Longs are being opened after a cross below and vice versa.
I also have close short on cross above and a close long on cross below condition built in this. But after the crossing they are still opened when
other conditions are met.
Could anyone tell how to solve this? Or how to prevent Longs/Shorts from being opened?
Looking forward to your answer.
Regards,
Lourens

Comment