running an EA 24/5, how do you stop it doing something dumb while you sleep
-
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'.
-
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.
-
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.
-
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.
-
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.
-
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.
-
daily kill switch plus server-side stops. non-negotiable.
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