Skip to content
  • Categories
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
Collapse
Forum ForexRoasted Logo

Forum Forexroasted

  1. ForexRoasted Community
  2. Categories
  3. Platform Tech
  4. MetaTrader
  5. mt5 auto-updated overnight and broke my EA, how do i lock the build

mt5 auto-updated overnight and broke my EA, how do i lock the build

Scheduled Pinned Locked Moved MetaTrader
mt5
7 Posts 7 Posters 14 Views 7 Watching
  • 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.
  • E Offline
    E Offline
    endlessroad
    wrote on last edited by
    #1

    woke up to my EA throwing errors that werent there yesterday. turns out the terminal auto-updated to a new build and something in the trade functions changed behaviour. spent the morning patching instead of trading.

    is there a clean way to freeze the mt5 build so it stops updating itself without my permission? id rather test new builds on a separate install when i choose to.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      carterw
      wrote on last edited by
      #2

      you cant fully block mt5 updates from inside the terminal, the broker pushes the build. but you can blunt it: run the terminal portable mode with the /portable flag, keep a zipped copy of the exact working build folder, and if an update breaks you restore the folder in 30 seconds. i keep a known-good snapshot of every terminal i run live.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Oliver
        wrote on last edited by
        #3

        portable mode plus a backup folder is the real answer. also worth running your live EA on a dedicated terminal install that you never touch for browsing the market or testing, so theres less reason for it to update at an inconvenient time.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frostbyte
          wrote on last edited by
          #4

          or write EAs that dont break on a point release. if a minor build update kills your bot your error handling was already broken, the update just exposed it. fix the actual fragility instead of freezing yourself on an old build forever.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Ryan
            wrote on last edited by
            #5

            the troll is rude but not wrong. that said, builds have genuinely changed trade function return codes before in ways no error handling could predict. the pragmatic move is both: defensive code AND a restorable snapshot. i test every new build on a demo terminal for a week before letting it near a live account.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              quietstorm
              wrote on last edited by
              #6

              how do you even take a snapshot, is it just copying the whole mt5 folder somewhere safe?

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nightwalker
                wrote on last edited by
                #7

                yes basically. with portable mode the terminal keeps everything in its own folder, so you zip that folder while the terminal is closed and you have a complete restore point including your EAs, settings and logins. label it with the build number so you know what youre rolling back to.

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Unread 0
                • Recent
                • Tags
                • Popular