Allright. So I include the line
set(LOGFILE);
in the script. I run it and look into the log folder of Zorro and what I get is:

[79: Fri 24.04. 00:00] 1.30081
[80: Mon 27.04. 00:00] 1.31242
[81: Tue 28.04. 00:00] 1.32141
[EUR/USD::L8101] Long 1@1.3025 Risk 10 at 00:00
[EUR/USD::L8101] Sell 1@1.3025: -0.17 at 00:00


and all trades similar to this one, like:

[EUR/USD::S8502] Short 1@1.3291 Risk 10 at 00:00
[EUR/USD::S8502] Cover 1@1.3291: -0.21 at 00:00

And this bothers me because I can't figure out what is doing:

1. It opens position at 00:00 in all of them, which shouldn't be according to the conditions requested. Though this may be understood if we consider that it refers to the bar 00:00

2. It gives risk US$ 10 or US$ 11 by default when there is no risk limit since there is no stop loss.

3. It closes position at 00:00 same day when it should close at 00:00 of next day, since ExitTime is set to 1.