improvement

optimizer results now include slippage and commission

the optimizer now scores every run after slippage and commission by default, so the historical results you see show what a strategy would have kept, not a best-case gross number. the default is 1 tick of slippage on market and stop fills and $1 per contract each way in commission.

you can change slippage and commission for any optimizer run in the new costs panel in the sidebar. algo templates stay on the default costs.

every saved result now records the costs it was scored with. older optimizer runs are labeled as not including costs, and their numbers stay as they were. the templates page, algo settings and report footer show which cost assumptions a result uses, and how a candle that hits both the stop and the target in the same bar is settled.