Tools
Do the maths yourself
Three small calculators. Drag the sliders, tap − and +, or use your arrow keys. Plain arithmetic, nothing stored, nothing sent anywhere.
The numbers are yours to change. They teach the arithmetic and say nothing about any stock or any trade.
The arithmetic behind each tool
- Losing streak. After n losses in a row, risking r of your account each time, you have (1 − r)ⁿ of it left. Getting back to where you started needs a gain of 1 ÷ (1 − r)ⁿ − 1. That's why the bars shrink faster than they grow back.
- Expectancy. (win rate × average win) − (loss rate × average loss). Above zero is an edge on paper, before it has been tested on real data with costs.
- Position size. Shares = (capital × risk %) ÷ (entry − stop), rounded down. A wider stop means fewer shares for the same risk.