Size every trade by risk, project how an account compounds, and test whether your edge holds up.
Long or short is detected from your stop: a stop below entry is a long, above is a short. Fees are added to the risk, so the position is sized to lose your chosen amount including costs.
Each trade risks a percentage of the current balance, so position size grows and shrinks with the account. Average mode applies your expected edge to every trade; random run plays out actual wins and losses, which shows how bumpy the path can be.