A part of the strategy is, that a long order will be set, when a candle crosses over the EMA (Open lower and Close higher, similarly short orders)
In the backtest I saw that it works. But also orders are set, when Open or Close is equal to the EMA. How can I avoid this behaviour?
I tried to find something wrong in "Conditions and Actions" and used different operators (Close(0) is higher/lower/crossover) but the result was still the same.
Unfortunately I don`t know much about Ninjascript or C#, nevertheless I hope you can help me.
Best regards
Comment