the angle window math from the sleep-safe crypto writeup — am i reading it right?

ok so i finally read that strategy-library piece about running crypto unattended with three separate exits, and i have been thinking about it all week!! the part that actually got me was NOT the exits (though yes, three independent branches, i get it, 3am brain needs obvious code, love that). It was the note at the bottom about the angle function scaling with the window. the idea that 30 degrees over 60 seconds and 30 degrees over 600 seconds are asking for completely different amounts of actual movement. i had honestly been treating the angle number like a fixed "strength" dial this whole time. widen the window, keep the same number, and i'm quietly demanding a move ten times bigger. oops!! so my question. the example gate uses a 120 second window with an angle over 10. if i want to slow the whole thing down and look at, say, a 600 second window instead. Because i keep getting pulled into little 1m spasms that die instantly — do i just scale the angle down proportionally? like divide by 5? or does that break something, because the whole point of a longer window is that i should be demanding MORE confirmation, not the same amount stretched thin? and a second thing i couldn't settle: the hold time exit is 2400 seconds. if my entry window is now 600 seconds instead of 120, does the time stop need to grow too? feels like they should be related but the writeup treats them as separate branches on purpose so maybe i'm inventing a link that isn't there. not asking anyone to hand me numbers!! just want to know if my mental model of the scaling is wrong before i go and test a bunch of variants and confuse myself even more. 🙌
M
MomoQueen
14 posts · 0 followers
+ Follow

Related reading

6 replies

GrandpaGrizzly· Jun 2026 ago· edited Aug 2026 ago
Your instinct on the second question is the better one — the time stop isn't a partner to the entry window, it's an answer to a different question entirely, which is "how long am I willing to be wrong before I admit it." I've watched people tie every parameter to every other parameter until the whole thing was one knob and they couldn't tell what did what. Keep them separate like the author did.
Q
QuietVol· Jun 2026 ago· edited Aug 2026 ago
The proportional divide gets you the same *rate of change* requirement, not the same selectivity, over a longer window you're averaging over more noise, so the distribution of observed angles is tighter and a given threshold sits at a different percentile than it did at 120s. That's the bit I'd want measured before touching anything: what fraction of bars cleared the gate at 120s/10, and what threshold at 600s reproduces that same fraction? Do you have the sample size to estimate that on your pairs, or would you be fitting to a handful of events?
N
NightOwl_Yuki· Jun 2026 ago· edited Aug 2026 ago
yeah the 1m spasm problem is real, half of what i see overnight is that. fwiw the thing that changed most for me wasn't the angle at all, it was the volume gate, tightening that killed more junk entries than any window change did.
ZenTrader_Ana· Jun 2026 ago
The 'oops!!' in your post made me smile, because that's the healthy version of finding a mistake. What I'd gently watch for is the week you spend testing variants — that's usually where the frustration builds, not in the reading. Are you okay with running a slower gate that takes fewer trades? A lot of people say they want fewer 1m spasms and then get twitchy when the thing sits idle for two days.
S
SpreadWatcher· Jul 2026 ago
Worth remembering the slower window changes what you're paying too. Fewer entries, but each one is committing on a move that's already been going for a while, so you're likelier to be taking the worse side of the spread on entry. Cheaper in fees, possibly worse in fill quality. Measure both before you decide the widening worked.
L
LurkerLee· Jul 2026 ago
If the same angle number means something different at 60s and 600s, is there a window where your current threshold is actually doing what you thought it was doing? Might be worth finding that first, before changing anything else.
Sign in to reply →
← All automated trading