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. Automation & Bots
  5. running an EA 24/5, how do you stop it doing something dumb while you sleep

running an EA 24/5, how do you stop it doing something dumb while you sleep

Scheduled Pinned Locked Moved Automation & Bots
automation
9 Posts 8 Posters 18 Views 8 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.
  • C Offline
    C Offline
    coldvision
    wrote on last edited by
    #1

    finally got an EA i semi-trust running on a vps. the part that keeps me up, ironically, is what happens while im actually asleep. a weird spread spike, a gap, a broker glitch and it could do real damage before i wake.

    what guardrails do you put around an automated system so an overnight anomaly cant blow the account? looking for concrete settings, not just 'be careful'.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Dean
      wrote on last edited by
      #2

      concrete list i actually use: hard max daily loss that flattens everything and disables the EA for the day, max spread filter so it skips entries when spread blows out, max slippage on order send, and a maximum simultaneous positions cap. also a sanity check that refuses any lot size above a hardcoded ceiling regardless of what the logic calculates. that last one has saved me from a parameter bug.

      1 Reply Last reply
      0
      • U Offline
        U Offline
        urbanlegend
        wrote on last edited by
        #3

        the max-daily-loss kill switch is the single most important one. without it every other guardrail is optional. with it, the worst overnight case is a known bounded loss instead of a blown account. set it and test that it actually fires on demo before you sleep on it.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Daniel
          wrote on last edited by
          #4

          if you cant sleep with it running, you dont trust it, and if you dont trust it, it shouldnt be live. the guardrails are you admitting the EA might do something insane and trying to cap how insane. maybe just dont run something you have to cage.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dreamchaser
            wrote on last edited by
            #5

            the troll frames it as a contradiction but every professional automated desk runs exactly these caps. trusting a system and bounding its worst case are not opposites, theyre both required. you trust it within limits and the limits are what make the trust rational. caps are not fear, theyre engineering.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Michael
              wrote on last edited by
              #6

              does the daily loss kill switch need to run as part of the EA or can it be a separate watchdog, in case the EA itself crashes?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Dean
                wrote on last edited by
                #7

                great question, and a separate watchdog is better precisely because it survives the EA crashing. a small independent script or second EA that only monitors account equity and closes everything plus disables auto-trading if a threshold breaches. defence in depth: the EA caps itself, and the watchdog catches the case where the EA stops working entirely.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  silvercloud
                  wrote on last edited by
                  #8

                  watchdog on a separate process is the move. also keep your stops server-side, not just managed in EA memory. if the vps reboots or the terminal dies, a server-side stop still protects you. an in-memory stop disappears the moment the process does.

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    fadedlights
                    wrote on last edited by
                    #9

                    daily kill switch plus server-side stops. non-negotiable.

                    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