skip-to-content
  • header.categories
  • 0 header.unread 0
  • header.recent
  • header.popular
  • header.world
collapse
Forum ForexRoasted Logo

Forum Forexroasted

  1. ForexRoasted Community
  2. header.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 278 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.
  • coldvisionC offline
    coldvisionC offline
    coldvision
    wrote on global:last-edited-by, Admin
    #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 rael 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'.

    test small first

    1 Reply Last reply
    0
    • DeanD offline
      DeanD offline
      Dean
      wrote on global: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 global: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 global: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 global:last-edited-by, Admin
            #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 global: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?

              small steps

              1 Reply Last reply
              0
              • DeanD offline
                DeanD offline
                Dean
                wrote on global: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 global: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
                  • fadedlightsF offline
                    fadedlightsF offline
                    fadedlights
                    wrote on global:last-edited-by,
                    #9

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

                    mostly lurking

                    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

                    • dont-have-account register

                    • login-register-to-search
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • header.categories
                    • header.unread 0
                    • header.recent
                    • header.popular
                    • header.world