fxDreema

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

    Time optimization

    Questions & Answers
    2
    7
    1908
    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.
    • A
      Aizen last edited by Aizen

      Hi, I want to open order at certain time of the day and I want to run back testing optimization with time constant. But there is no parameter field to enter for optimization. I want to optimize time with one hour intervals. how can I do that? I tried once a day time filter block.

      1 Reply Last reply Reply Quote 0
      • A
        Aizen last edited by Aizen

        0_1519642837853_Untitled.png
        Maybe my explanation was not enough. I need to run optimization with different certain hour values one hour as step.

        1 Reply Last reply Reply Quote 0
        • A
          Aizen last edited by

          Found solution myself. Instead Once a day block use condition block to compare server time with time stamp value. That value can be shifted by hour, this give me ability to optimize time filter when back testing.
          0_1519672449595_Screenshot_10.png

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

            If something fails to work in some days, it should be because you use ==. Imagine that you never got a tick at 00:00, but you got ticks in 23:50 and 00:01 - in this case you missed a signal only because there is no tick modeled at exactly 00:00.

            1 Reply Last reply Reply Quote 0
            • A
              Aizen last edited by Aizen

              Yes, it is possible that I wont receive tick in that minute. What If I use this approach inside on timer tab instead on tick tab? shared/ckYVWMTPd

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

                That Timer event is like a clock, it works independently of the ticks. But it only works in real time. You can try to backtest it, but the results will probably be the same as when you do it in Tick.

                A 1 Reply Last reply Reply Quote 0
                • A
                  Aizen @fxDreema last edited by Aizen

                  @fxdreema I did tried do back test with time tab, not working. And I tried tick tab, can back test, but it is not working on real account. I switched condition block with once a day block and it opens pending orders on real acc. Is it possible that you add offset to time filters blocks?

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

                  Online Users

                  E
                  L
                  G
                  K
                  E
                  S
                  E
                  P
                  G
                  R
                  N
                  S
                  E
                  E
                  M

                  26
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors