Hi Petko,
I believe I found the problem :
My broker time zone is 2 hours later than GMT, so I needed to adjust the time zone by adding 7200 seconds
For the US session pairs I wrote to close the trade at second 86,400 , which is 12:00 am , which is invalid.
I changed it to 86,000 and it is working now
Thanks 🙂