# XAUUSD 2026 YTD Hybrid Backtest Plan

Status: initialized 2026-07-17.

## Goal

Find repeatable XAUUSD ICT/SMC setups efficiently without losing manual-review accuracy.

This is **not** a fully automated backtest engine. The scanner only finds candidates. Final trades are valid only after manual TradingView replay review.

## Workflow

1. Collect historical OHLCV for W/D/H4/M30/M15/M5.
2. Mechanical scanner finds candidate setup windows.
3. Candidates receive pre-review score and reason flags.
4. Aryy Finance manually reviews high-score candidates in TradingView Bar Replay.
5. Confirmed trades go to journal/backtest dashboard.
6. Rejected/weak/missed candidates go to review notes or shadow entries.
7. After enough confirmed samples, extract repeatable strategy rules into skill.

## Candidate strategies

- Aryy HTF Narrative Fib 50/62
- ICT Sweep + MSS + FVG
- Liquidity Sweep Reversal
- Breaker Continuation
- Order Block Reclaim

## Scanner duties

Scanner may detect:

- PDL/PDH sweep
- PWL/PWH sweep
- session high/low sweep
- displacement candle sequence
- basic MSS/BOS
- FVG creation
- retrace into Fib 50/62
- rough SL/TP outcome

Scanner must NOT claim final validity. It only writes candidates.

## Manual review duties

Manual review confirms:

- HTF narrative W/D/H4
- Internal → External or External → Internal
- sweep quality
- displacement quality
- no hindsight
- PD Array validity
- Fib 50/62 alignment
- execution session and risk quality

## Data files

- `hybrid/data/ohlcv_*.json` — historical bars
- `hybrid/candidates/candidates.json` — scanner output
- `hybrid/reviews/reviews.json` — manual review labels
- `data/journal.json` — confirmed final trades
- `data/backtest-data.json` — confirmed dashboard data
- `data/shadow-trades.json` — shadow/observed/missed entries

