Why %K Broke the O(1) Pattern (and How I Fixed It)

Every indicator in quantedge-ta before the Stochastic Oscillator shares a design pattern: each new bar’s contribution decays over time. SMA: uniform average, old bars age out as the window slides. EMA: exponential weight, old contributions shrink but never hit zero. RSI: Wilder’s smoothing, same story. MACD: two EMAs composing. ATR: Wilder’s smoothing on True Range. None of… Continue reading

48 Builds and a Crash from the Grave

Some bugs are hard because they’re complex. Some are hard because they’re intermittent. The worst ones are both. This one took three months. Forty-eight builds. An iOS crash that appeared under conditions that resisted every attempt to reproduce it reliably. If you read the first post, you know the setup: a third-party Flutter-backed ticketing SDK embedded… Continue reading