Alert backtest: what price did after each fire
Take a price or indicator recipe — "RSI crosses below 35", "price crosses up its 20-day average" — and AtlasVector replays it bar by bar over history. A "fire" is counted once when the condition flips false→true, the same de-duplication a live alert applies; the forward move is then measured over the next 1 / 5 / 21 bars: hit rate, average forward move, and how often the fire reverses (the false-signal rate). No look-ahead. The replay runs on real price history only.
What happened after each fire, by horizon
A fire at bar t is only scored at horizon h if bar t+h exists — outcomes that cannot yet be observed are dropped (censored), never guessed. A hit rate near 50% is indistinguishable from chance; meaningfully above it, in the direction the recipe expects, is the start of a measurable edge.
Glossary
- Fire
- One moment the alert condition flips from false to true; counted once per flip, like a de-duped live alert.
- Hit rate
- Share of fires whose forward-return sign matched the alert's directional intent. ~50% is a coin flip.
- Forward return
- close[t+h] / close[t] − 1 — the percentage price change over the next h bars after a fire.
- False-signal rate
- Share of fires that moved adversely to your intent at any bar within the horizon (whipsaw).
- Horizon
- How many bars forward we measure the outcome (here 1, 5, and 21 bars).