Hi MKH,
You specified the 200 day moving average as a filter so the 150 stocks in your investment universe is screened first to select stocks above their 200 day moving average.
Next, the relative strength backtest selects stocks with the highest signals based on the signals you selected which are:
1. Highest 12 Month returns
2. Lowest PE ratio
3. Highest Return on Equity
4. Highest Profit Growth
5. Highest Volatility
These 5 signals are combined using your weight of 20% each to form the overall signal.
The stocks are then ranked using this overall signal and the best 10 stocks are selected every week.
Your excel sheet only shows 113 stocks because some stocks were never selected by your strategy because they were filtered by the moving average screen or did not have an overall signal that ranks high enough. Hope this helps!
Kind regards
The PyInvesting Team