fxDreema

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

    MT5 speed is slow

    Questions & Answers
    4
    15
    4207
    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.
    • TipsyWisdom
      TipsyWisdom last edited by

      Hello everyone, I have a few different EA's that I use. Most with just a simple variable or 2, usually no more blocks than 20....each one is so slow to run on MT5 software! If I convert it to MT4 and run over there, it is several times faster. On MT5, I am not doing the strategy testing in display mode..so I am smart enough to know its not the play-back speed. Is there something else I'm missing?

      I also noticed that unlike MT4, there isn't a "History Center" to download the data. Is the data constantly updated or perhaps it must be run from their servers every time?

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

        What’s in your 20 Blocks?
        Do you need to recalculate it on every tick?
        What is your ping on mt5 and mt4?
        You can run an analysis on mt5 which functions take how long...

        1 Reply Last reply Reply Quote 0
        • Z
          ZAHER AHMAD last edited by

          Hello friend, I think you are using a somewhat complicated method. You may also want to view all the data on the graph. Of course for this reason there will be a slowdown in data exchange between the server, robot, and graph
          I think you should try to remove all unnecessary blocks

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

            What I did to improve speed is change modelling in 1-minute OHLC. Yes, @ZAHER-AHMAD I will be interested in a slower more efficient method when I need to iron out the details, but I'd like to run through quickly in the beginning of a thought in order to see if it generally works.

            @bk7 No, it is just very simple stuff that I was running by "every tick based on real ticks." According to a google search however, many people say that MT5 is naturally slower in comparison to MT4.

            bk7 1 Reply Last reply Reply Quote 0
            • bk7
              bk7 @TipsyWisdom last edited by

              @jsauter86 said in MT5 speed is slow:

              What I did to improve speed is change modelling in 1-minute OHLC. Yes, @ZAHER-AHMAD I will be interested in a slower more efficient method when I need to iron out the details, but I'd like to run through quickly in the beginning of a thought in order to see if it generally works.

              @bk7 No, it is just very simple stuff that I was running by "every tick based on real ticks." According to a google search however, many people say that MT5 is naturally slower in comparison to MT4.

              the mt5 backtest should be of higher quality...
              you can speed it up with the once a bar for the main calculation and the other stuff with more calculations...

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

                yes sir it is and it took my aweose MT4 EA's and totally flipped them around and made them less than ideal. So I'm working hard trying to get my good EA's more efficient again.

                Is this optimization feature worth the CPU power?

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

                  I think it is. But I noticed it depends a lot on the machine you are using for a backtest.

                  TipsyWisdom 1 Reply Last reply Reply Quote 0
                  • TipsyWisdom
                    TipsyWisdom @bk7 last edited by TipsyWisdom

                    @bk7 new 8 intel laptop and ive got a ryzen 2nd gen 8 core desktop at home.

                    I think a lot of it in the beginning had to do with waiting on the data from the server. They seem to be a lot quicker...now I just need to figure out how to get both computers to share resources. I tested out the cloud server for optimization to make my EAs more efficient and it went through $20 super fast. Very impressed with the results however!

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

                      a lot depends on your internet connection on live trading as well, but that doesnt matter for backtesting.
                      i use for a backtest just a 3900x ryzen with nvme ssd, it outperforms any desktop intel chip by far. i once notized that an old xeon 2670 is as fast as a 8700k in terms of multicore backtest duration.

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

                        I always use "open prices only" testing, runs fast enough... Yes, its inaccurate for some HFT system, but thats not my niche anyways.

                        Need small help? Tag me in your post
                        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                          @roar did you encounter any problems once you use hlc/hlcc prices?

                          roar 1 Reply Last reply Reply Quote 0
                          • roar
                            roar @bk7 last edited by

                            @bk7 sometimes yes, usually no

                            Need small help? Tag me in your post
                            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                            TipsyWisdom 1 Reply Last reply Reply Quote 0
                            • TipsyWisdom
                              TipsyWisdom @roar last edited by

                              @roar hft = high frequency trading?

                              Whats high frequency? haha

                              bk7 1 Reply Last reply Reply Quote 0
                              • bk7
                                bk7 @TipsyWisdom last edited by

                                @jsauter86 more than one order within 1 minute ^^

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

                                  yo...ive got to say that im a little salty that nobody told me when you go from mt4 to mt5 you need to get rid of the no trade blocks (or after converting you should look to see if they need to be changed). I am still using them on some EA's...I thought some of my EA's and price action readings were trash because of it. Nope. Just needed to change the blocks to no position/order.

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

                                  Online Users

                                  M
                                  G
                                  D
                                  A
                                  A
                                  R

                                  14
                                  Online

                                  146.7k
                                  Users

                                  22.4k
                                  Topics

                                  122.6k
                                  Posts

                                  Powered by NodeBB Forums | Contributors