my question is why the 5 trades is it based on past experience or it a random number because backtest shows more sharpe and sortino ratio in 2,3,4 trades..?
In case of FO, it could be from 7-10. Again, this diversifies your stakes so that both your profits and losses are spread over.
If you have multiple strategies (say 3 or 4), then 3 of them are enough. Its a number used after trying out; no hard fast rules.
If you diversify among sectors (I do it), then its even better.
Another tip is to pick 2 stocks from 4 or 5 sectors
Do all this after proper backtesting