Outdated behavior at the start of the trade

Hello everyone! I’m sure this isn’t a bug, but it’s a behavior I still don’t understand and that I’ve seen many times in different bots. It occurs when all the conditions are correct to open a trade, but the bot does it too late, affecting the outcome of the operation due to poor timing.
In this case (I only included a recent example), all three conditions are OK (draw red), but the bot initiates the operation too late. I believe must initiate more closer to the conditions (draw white)

Why is this? Can anyone help me?
I have my suspicions, but I’d like to refine this in my bots. Thanks in advance. :slight_smile:

BOT : Gainium app

PS (condition 3 cant be showed in TF 15m becasuse is in 4H. Price above 200 EMA)

When would you have expected the bot to trigger?

Can you backtest the bot in the same time it was opened and see when the trade was opened?

I bactested the Strategy and was consistent with the Paper Bot at least in the last 4 trades
(pic of the same trade in the backtest. I added the config of the stoch `cos is my suspect that I messed upwith the interpretation of condition K&D)

I put a white dot in the pic. if the 3 conditions are OK soon a deal must start in the next candles bars near the conditions, deal start in Limit.

I wonder whether it would be possible to translate the 4 h signal into the 15 min chart. At what moment was condition 3 met on candle close in the 4 h chart? I would expect it to open at least the next 16 candles of the 15 min chart to trigger a trade; probably more because it’s a slow “above” trigger. Another question is whether the bot had free slots to open a new deal when all conditions were met first.

If the backtest and the paper bot gave the same entries then it’s likely correct. Backtester and bot logic are separate, it’s very unlikely that that are both making the same mistake, they have completely different code.

1 Like

The EMA 200 at the moment of the trade is really far from action price the condition is met before, as Ares said both Bot repeat the same trade so must be OK for the logic of indicators, wich is intriguing is the distance in Time not Price.
I saw this in other trades in diff bots .
I will investigate further because is not happen always but can chnage your Bot results with the time.
By the way the bot is working only with BTC

Does that help to analyse it?

That’s the Matrix 's Code I only see bistecs and fries :smiley:

If you follow the link, there’s also a legend that explains the symbols. :sweat_smile: