It was that! I feel so silly, I increased the number of expiry bars to 50 in M1 and now it sets TP and SL perfectly, oh my god I'm sorry, I didn't know it could affect, let me check if everything works fine, but so far seems so.
"Know thyself."