fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Still troubled by time

    Questions & Answers
    2
    3
    649
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dscoles last edited by

      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

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • D
          dscoles last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          S
          A
          B
          A
          J

          15
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors