The same candle, on every broker
A simple higher-timeframe read on gold kept breaking because the data differed from broker to broker: different rollover times, missing candles, different session boundaries. We made it hold up wherever the trader traded.
The problem
The trader had a clean idea built around the four-hour candle on gold. On paper it was simple. In practice it kept breaking, because “the four-hour candle” isn’t one thing: it depends entirely on the broker. Different brokers roll the daily candle at different minutes, include or exclude different parts of the session, and occasionally just drop a candle. So the exact same logic read differently depending on where the chart came from, and a setup that looked perfect on one feed wasn’t there at all on another.
This is the kind of bug that makes a trader doubt the idea itself, when the idea was fine all along. It was the plumbing underneath it that was inconsistent.
The build
The fix was unglamorous and exactly the point: handle the broker reality explicitly. Account for the different rollover times, detect and accommodate missing candles, and pin the session boundaries to a consistent definition rather than trusting whatever the feed happened to do. The logic on top stayed the same; the foundation under it stopped shifting.
The outcome
The same four-hour read now holds up across brokers. The candle the trader cares about is the candle they actually see, wherever they trade it. The idea finally got to be judged on its merits, because it was no longer fighting the data feed.