I'm trying to add a condition to my IF statement for an ATM strategy that will execute trades every day only between 4PM (Current day) and 12:00PM (next day). I have tried doing this with the ToTime command but it doesn't seem to execute any trades.
I am guessing ToTime might only work for same day executions...
Any advice on a command for condition that might work for this purpose?

Comment