Crossing down issue

https://app.gainium.io/bot/backtests?a=6946&aid=share-backtest&backtestShare=707684c8-3a98-4a9b-b509-3e5ca6b8c548

i think they are sume issue with the bot , the entry happen after many time after the crossing down and he open 3 positions in a row.

same issue with the ma the entry happen after 2 candels and that’s too late , here a picture.

faced similar issue with RSI crossing down conditions in 5 min TF. May be the bot get late in executing the option. i have now switched to greater than feature on RSI.

For me it looks as if the cross happened one candle later than you assume. It’s shortly after the close of the candle that is two candles before the condition is met. I.e., it happens the candle before the deal start.

Regarding multiple deals in a row at lower timeframe. It was fixed.

About crossing. We calculate indicator values by close price. Therefore for crossing it will be 1 candle after crossing on chart. You can see on your screenshot on big red candle. Blue line was lower than orange, but these values we will know only on next small red candle. On a small red candle on chart blue line is higher than orange, but again these values we will know on next green candle. And on the green candle sell signal was triggered. Real bot working exactly the same. We do not work with intermediate values, we are processing indicators only after candle is closed.

Maybe a better option than crossing would be approaching then where we give a number how close one line gets to the other? Otherwise the signal always seems to be to late for one candle.

i agree with him this crossing down calculations doesn’t seems good to me, maybe adding an option to choose close/open/high/ low or even actual price or what he said that will be better.
thanks

1 Like

Close/high/low are known only after candle is closed, it wont make any difference in terms of crossing condition.
Using current price might be challenging for us at current point.
As for candle open or how close lines should be you can create a feature request.

Could it help to use crossing with a smaller timeframe in combination with a bigger RSI length to get the crossing of the longer timeframe quicker?

I.e., instead of RSI-7 crossing up 30 on 5 min we could use RSI-35 crossing up 30 on 1 min?

even on the 1 minute the entry happen after 2 candels i dont think that will help.

Well, but it would happen after at most 2 minutes and not after at most 10 minutes.