fxDreema

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

    Questions about 'Skip ticks' block

    Questions & Answers
    4
    17
    3985
    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.
    • isp00rt
      isp00rt last edited by

      I'm going to try it for the first time and I would like to know the following:

      1. Can I choose decimal time units, i.e. 0.3, 0.5, 0.7 minutes?

      2. How does it work at backtesting? Does it distort results or not?

      Thank you in advance

      1 Reply Last reply Reply Quote 1
      • isp00rt
        isp00rt last edited by

        Apparently I cannot choose decimal time units for seconds. I mean I choose them but it doesn't work. Is that intended?

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

          Does this block stop other blocks after it? I mean that they are apparently blocked beyond the time period specified.

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

            This block sets a value in one variable, which is then checked in OnTick(). The block prevents all the other blocks from running for some time. Look at the screenshots below.

            I think you should be able to use values like 0.5 for the minutes.

            0_1534525324975_dfb2a980-9ef0-4cfa-bcf8-9039d6cb3b17-image.png
            0_1534525417900_32ac2123-f78f-4770-ac97-7c16537a9006-image.png

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

              I tried this simple example and it doesn't work.

              https://fxdreema.com/shared/ReqSxTlLb

              Not a single tick is skipped no matter how many seconds I insert as a constant. Am I missing something?

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

                I added a 'Pass' block at the top, but nothing changes.

                1 Reply Last reply Reply Quote 0
                • R
                  richard96816 last edited by richard96816

                  My guess at better skip-ticks and delay functions. Sounds like the provided ones are not very useful.

                  https://fxdreema.com/shared/7zRhyWgxb

                  Haven't tested these. Just guessing ...

                  Everything in fxDreema needs to be tested carefully.

                  isp00rt 1 Reply Last reply Reply Quote 1
                  • fxDreema
                    fxDreema @isp00rt last edited by

                    @isp00rt I set the constant to 10 and then to 100 seconds and it worked for me. I did that in the project directly, I normally don't touch the inputs of the EA in MetaTrader

                    isp00rt 1 Reply Last reply Reply Quote 0
                    • isp00rt
                      isp00rt @richard96816 last edited by

                      @richard96816
                      Thank you very much for your suggestion. If the block can't do what I want I will certainly try your structure.

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

                        @fxdreema
                        Did you try on a demo account or by backtesting? I tried two different broker's MT4 platforms and it doesn't work on demo. No matter what I do, not a single tick is skipped after I run the EA. Can you please tell me on which platform did you test it?

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

                          Can someone please confirm the project does work properly? I tried three MT4 platforms: Admiral Markets, GKFX and FXCM and it doesn't. I tried on demo accounts.

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

                            Wow, I found the problem. In the block I use TimeCurrent() to set the value of FXD_TICKSKIP_UNTIL and in OnTick() I use TimeLocal(). Those are the same when testing, but on real probably not. I will fix it.

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

                              Ok. Thank you.

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

                                Coud you finally fix it?

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

                                  I think I fixed it when I wrote the last post. Isn't it working?

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

                                    It doesn't work yet. Did you try it on a demo account?

                                    1 Reply Last reply Reply Quote 0
                                    • O
                                      Okram James last edited by

                                      It doesn't work yet. Can anyone solve

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

                                      Online Users

                                      D
                                      A
                                      K
                                      K
                                      E
                                      S
                                      I
                                      G
                                      F
                                      A
                                      I
                                      E
                                      D

                                      29
                                      Online

                                      146.6k
                                      Users

                                      22.4k
                                      Topics

                                      122.6k
                                      Posts

                                      Powered by NodeBB Forums | Contributors