π§ͺ How it works.
For each symbol we pull REAL daily bars from the worker and compute features (RSI, MACD, position vs MAs, day pattern) on each bar. Free-stack daily history is ~40 recent sessions, so the backtest covers that recent window even if you pick a longer start date.
Whenever a high-conviction setup fires, we open a virtual trade with the brain's recommended stop/target (ATR-based). Walk forward bar-by-bar to see if it hit T2 (3R), T1 (1.5R), or stop (-1R).
Aggregate R, hit rate, win-rate by setup. This is the honest scoreboard for whether the brain's signals would have made money.