I have analyzed the backtest screenshots and this is not an issue but the difference seems to be because of the combination of Max allocation and Initial Capital.
You are using the Initial Capital as 30000. Thus in backtesting, an entry will be taken only when the notional value of the trade is less than the ‘initial capital + Cumulative Profit or Loss’.
Now when you are running the backtest from 03 Mar 2023 to 31 May 2023, the trades till 06 Mar 2023 are incurring a loss of -9716.25. Hence, the capital available now is 20,283.75 (i.e. initial capital + Cumulative Profit or Loss’ = 30,000 + (-9716.25) ). As you have used the Capital based position sizing and the max allocation of 30,000 the quantity will be selected for 30,000 but, when the system checks for the next entry it will only take entry when the entry price is fetching the quantity within the available capital.
However, with the initial capital of 30,000, the available capital now is 20,283.75 (after the calculation of the previous loss as explained above). Thus the fetched quantities with the Max allocation can not be bought with the available capital, hence the trade is avoided.
Similarly, the other trades are avoided as the notional value of the trades is higher than the available capital. You can keep a large number as initial capital so that all trades in backtests are considered.
However, when you run the backtest from 01 May 2023 to 31 May 2023 the trades do not occur a major loss thus the initial capital must not be going lower than the notional values of the trades, and the trades as visible in this backtest period. Therefore, you can keep a large number as initial capital so that all trades in backtests are considered.
You can reverify the details by increasing the initial capital.
In case you are facing any further issues you can also share the Strategy link to [email protected] so that the team can check in detail and assist you further.