I can provide more details on what happened exactly, just in case someone else finds this same problem. My broker is doing something really weird. Forex charts are disconnected from the server at 23:55 and reconnected at 00:05 the following day. Well, I noticed that at 00:04 there is a fast reconnection that is immediately disconnected until 00:05. It is at that ultrashort connection that the bot is working as expected but...only yesterday's info is used!!! 😮 For some reason I can't understand, all values for daily candle ID are adjusted to the last day instead of the new one.
In my case I fixed the problem by using a time filter for the bot to begin at 00:10 every day. Then today's candle ID value are used normally. Damn brokers! Their cheating tricks are everywhere!! 😉