I did not change anything, so it must have been a configuration problem of mine or not looking at the broker and server schedules well
I have put a filter on it so that when it is within hours it paints the candles green or red (according to the trend of the donchian channel in 1H) and when it is out of hours it paints them gray and it works very well, so it must have been my fault previous.
Thank you very much for the inconvenience