fxDreema

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

    EA took long time to execute for scalping strategy

    Questions & Answers
    4
    10
    561
    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.
    • S
      Salmuranda last edited by

      Dears, hope your all having a profitable days,

      I programmed a very simple EA which is 25 blocks, when testing in demo account, feel like it took more than time than needed, i am not sure if this issue from huge number of lines in the expert source code which is almost 11,600 lines, or its from connection latency, i rented a VPS for a week to test, its better with around 200ms, but still feel like execution should be faster than this.

      for example: entry point at certain hour min each day, to sell or buy if the previous candle is bullish or bearish or start, this simple entry took more than 300ms to be executed on VPS connection, also for closing it took more time than that for closing multiple trade with deference between closing each trade not less than 300ms, and this for scalping is not the best scenario

      https://fxdreema.com/shared/p69BWM17

      What i am asking is this the normal time to process such simple ea?, or should i look for external programmer to simplify number of lines in this EA?

      Many thanks in advance

      l'andorrà S 2 Replies Last reply Reply Quote 0
      • jstap
        jstap last edited by

        I think it has nothing to do with the number of lines, I can only say of my experience on MT4, but I would expect this to happen quickly. EAs never react as promptly as manually pressing a button

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        S 1 Reply Last reply Reply Quote 1
        • S
          Salmuranda @jstap last edited by

          @jstap , Thanks for the reply, one of the purposes of creating EAs to be more faster than us, if i can act faster than EA hen there is no need for EA 🙂

          jstap 1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà @Salmuranda last edited by

            @Salmuranda You should defnitely try other VPS. Depending on where your IP provider is located, where your VPS is located and where your broker's server is located, execution time can be even worse than that. This is why me, living in Western Europe I only select Western European VPS and only use Western European broker's servers.

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

            S 1 Reply Last reply Reply Quote 0
            • jstap
              jstap @Salmuranda last edited by jstap

              @Salmuranda I get what you mean, For example, if you press the x on your platform to close a trade you will get an almost immediate close with the profit you can see, but an EA would send the close to the broker and possibly end up with slippage. But an EA will work when you are too busy to notice what is happening, so you can end up better off.

              Learn fxDreema Without the Wait!

              My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

              The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

              Don’t miss out

              Click here➡️ https://mybook.to/fxDreema to get your copy today!

              Enjoy! 😊

              S 1 Reply Last reply Reply Quote 0
              • S
                Salmuranda @l'andorrà last edited by

                @l-andorrà Totally agree with you, and that's what i did, both broker and VPS are in New York, ICMARKETS have many servers there, so i rent the VPS there, but will try another VPS provider there

                Thanks

                1 Reply Last reply Reply Quote 0
                • S
                  Salmuranda @jstap last edited by

                  @jstap I got your point, also slippage is another big issue with EAs

                  1 Reply Last reply Reply Quote 1
                  • S
                    sktsec @Salmuranda last edited by sktsec

                    @Salmuranda
                    The computations start upon every new tick. So the frequency of tick updates per second also affect the result.

                    Maybe you can check time between tick arrival the actual time of the executed trade.

                    By the way, I am afraid VPS is often slower than your own PC. You can compare this way as well

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Salmuranda @sktsec last edited by

                      @sktsec Appreciate your reply, Could you please advise how to check for these measures (time between tick arrival the actual time of the executed trade), I also confirms that the VPS computing capabilities is much less than my own desktop, also I have Fiber connection with 800Mb speed, I need to be sure also if connecting the desktop by cable to the router

                      Thanks in advance

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sktsec @Salmuranda last edited by

                        @Salmuranda
                        In simple case such as once per bar execution, you may use the comment block to print out the tick time using the TimeCurrent() function

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

                        Online Users

                        M
                        C
                        K
                        T
                        K
                        D

                        14
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors