Still troubled by time
-
I want to have a "dead zone" for trading, which mostly works. You can see an abbreviated version called TestTime in my projects.
The issue that I have appears around the single second at midnight (24:00:00 to 00:00:00).
The trigger (trade-on = 0) happens correctly at 17:00. It stays off until exactly midnight, at which time it turns on for just a second, and then turns off again until 6:00.
I have attempted to save the time right at midnight and use a condition block to force skipping the logic for 100 seconds. I could not get that to work.
How can I set up my blocks so that midnight does not trigger setting trade-on to "1" (true)?
Thanks,
Dwight
-
Try this: https://fxdreema.com/shared/6f02Qbxie
24:00 does not look very good anyway. I can suggest to use "Relative to Start time" mode. -
Thanks... I was a bit dense as the easy answer was to create a "live trade" zone from 6:00 until 17:00. Works great.