fxDreema

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

    Reducing EA Load On Broker's Server

    Questions & Answers
    2
    6
    1555
    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.
    • T
      Trader3487 last edited by

      Hi,

      Without notice on Friday, my broker closed all of my open positions! They said that my ea was sending too many signals to their server. I had originally set the trailing stop to a fixed s/l of 1 in order to automatically default to the broker's minimum s/l but this caused a message every time saying "requested s/l too small... minimum taken instead" so I replaced this with the actual s/l values. However, the ea is apparently still sending too many messages - any suggestion on how to make it less intrusive given that it does have a lot of blocks running?

      Thank you 🙂

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

        Trailing step naturally makes it to modify SL not so often, because some distance (step) must be traveled, but if your SL is as small as possible, I don't see space for Step 🙂

        When SL is keep so short, there are probably many error messages as well. I can suggest using Virtual stops, because something is moved, but it's not the real SL and at the end the trade should be closed. I never tested it with small stops, I don't know what possible errors can come out of this, but I guess it should work. Or use some kind of indicator or conditions to tell you when to close trades.

        Just to mention, not long time ago, I modified trading actions so to try again and again if some action fails. There are type of errors that are "recoverable" and others are "fatal", and when recoverable error happens - it will try again, but if fatal error happens - it will stop trying. So the EA itself is going to push the broker to do what is needed to execute the command. If you detect some situation when the EA is not pushy enough and can cause the EA to lose money because of errors, please, message me.

        1 Reply Last reply Reply Quote 0
        • T
          Trader3487 last edited by

          ok, I'm glad the the EA is set to be "pushy" because that means it's doing it's job - I just have to find out how to balance that pushiness with fewer server requests. I don't think minimum s/l is so small: it kicks in when broker's minimum s/l + spread are met so example we are talking about 0.00069 for EURUSD, 0.00101 for AUDUSD, 0.091 for USDJPY, etc. so maybe increasing trailing stop step size will make a difference (currently it's set to 1 pip)?

          Have you experienced broker issues arising from complex eas? Maybe this broker is too sensitive?

          Any other suggestions to reduce server load are appreciated (this ea uses 3 different groups and ~10 symbols so). Thanks 🙂

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

            The other way is to modify SL from time to time, every 1 minute for example.

            Well, I don't trade and I don't have good experience with brokers to tell you what they like and don't like. But sending too many queries to any server causes it to not like you in general, so... make things in a way to not over-communicate with the server 🙂

            1 Reply Last reply Reply Quote 0
            • T
              Trader3487 last edited by

              thanks for the tips. I know trailing stop, and open/close orders interact with server but do any of these blocks require server calls?: comment on chart, draw arrow, alert message, play sound, formula, modify formula, levels tester, condition, single candle, for each trade, less than "n" trades running?

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

                None of these require server calls (if there is something about MT that I am not aware of), they interact with MT only, and MT interacts with the server when needed - and this is when trade/order is created, modified, closed. Checking trades happens locally and it's actually fery fast, so I guess the EA reads temporary variables that MT updates when new event happens.

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

                Online Users

                H
                G

                6
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors