Why do you think it does not include the spread into the backtest for stocks? Are you sure you are putting the right spread value into the spread box? You can look at the point size value of the current instrument by clicking on the small “i” icon right to the instrument name of the price chart window, in order to accordingly adapt the right spread size the instrument point size. Look at the attached picture for an example.