Monte Carlo

Monte Carlo simulation

Replays your system a large number of times to visualize the spread of possible outcomes · not a forecast.

Equity curves

0%100%276%
Near the medianNear the best caseNear the worst case20 simulations

Results

Median balance

162.8%

Best balance

262.5%

Worst balance

113.8%

Ruin rate

0.0%

Share of simulations that dropped to 0% of capital.

The same system, 200 different endings

7100-12544125-150150-17539175-20022200-2253225-2501250-275median · 163%
The 200 sequences of the default settings (50% win rate, ratio 2, 1% risk over 100 trades), sorted by final balance: the same system ends here anywhere between 114% and 263% of starting capital, with a median at 163%.

A Monte Carlo simulation replays a trading system many times over to reveal the range of paths it can take. You describe the system with three numbers · win rate, reward-to-risk ratio and risk per trade · and the tool draws every trade at random according to that win rate, across sequences of N trades repeated dozens or hundreds of times. Each sequence starts at 100% of capital and risk is applied to the current balance, so gains and losses compound.

The point is not to predict the future but to see the dispersion. Two sequences run with exactly the same settings can end far apart, simply because wins do not arrive at the same pace. The chart overlays the sample paths, and the results show the median, the best case, the worst case and the ruin rate · the share of sequences whose balance was wiped out entirely.

The formula

Each trade is drawn at random: it wins with a probability equal to the win rate. On a win, the balance grows by balance × risk % × ratio · on a loss, it drops by balance × risk %. This repeats through the whole sequence, then across every simulation. The final balances are then sorted: the median is the middle value, the worst and best cases are the two extremes, and the ruin rate is the share of sequences whose balance fell to zero.

One example, walked through trade by trade

Take the default settings: 50% win rate, ratio 2, 1% risk, starting at 100% of capital. First trade drawn as a win: the balance rises by 100 × 1% × 2 = 2 points, to 102%. Second trade drawn as a loss: it drops by 102 × 1% = 1.02 points, back to 100.98%. The draw repeats on every trade, and the risk always applies to the current balance · that is why gains and losses compound instead of merely adding up. Repeated over 100 trades and 200 sequences, this page's draw gives a median of 162.8%, a worst case of 113.8% and a best case of 262.5%. Nearly 150 points between two sequences that followed exactly the same rules: that part belongs to chance, and no setting removes it.

The same system depending on the win rate you enter

Ratio 2, 1% risk, 100 trades, 200 sequences · only the win rate changes. A few points of difference move the whole simulation.

Reference values for this tool
Win rateWorst caseMedianBest caseSequences below 100%
35%70.6%104.1%153.4%74 of 200
40%87.0%120.8%183.5%16 of 200
45%95.1%140.3%213.0%2 of 200
50%113.8%162.8%262.5%0 of 200
55%128.2%189.1%287.1%0 of 200

The limits

It assumes a constant win rate and ratio from the first trade to the last · no real system keeps that promise, markets change and so does your trading. It draws every trade independently of the previous one, while real results can cluster: same market context, same mistake repeated. It ignores fees, slippage and the concrete floors of an account. Its 200 sequences are only a sample: the worst case displayed is the worst of this particular draw, not the worst possible. Above all, the numbers you type in are themselves uncertain · a win rate measured over 30 trades can sit far from your true probability, and the simulation passes that error through without warning.

The classic mistake

The median is not your expected result, it is the middle of a range: half of the sequences finish below it. The symmetric mistake is just as common · judging a system on a single sequence, your own. After a bad month, concluding the system is broken while its path still sits inside the normal range; after a great start, believing it better than it is. Look at the illustration: endings far apart come out of identical settings. One single path, yours included, proves almost nothing about the system that produced it.


Frequently asked questions

Does this simulation predict my future results?

No. It assumes a constant win rate and ratio, which no real market delivers, and it draws every outcome at random. Its job is to visualize the variance of a given system · how far apart trajectories can land despite identical statistics · not to announce what will happen.

Why does the ruin rate often stay at 0%?

Because risk is a percentage of the current balance: each loss shrinks the account without ever fully emptying it, unless you risk 100% per trade. Mathematical ruin is therefore rare in the simulation. Real accounts have hard floors · margin, fees, minimum position sizes · and a balance down 80 or 90% is already a practical ruin even if it never touches zero.

How can two identical sequences end so far apart?

A win rate is a probability, not a guarantee over any given block of trades. Across 100 trades at 50%, landing 42 or 58 wins is completely ordinary · and since gains and losses compound on the balance, a handful of trades is enough to spread the final outcomes wide. That spread is exactly what the chart makes visible.

Why the median rather than the average?

Because balances compound, the best sequences climb far higher than the worst ones fall · the distribution is stretched upwards. An average would be pulled up by those few lucky paths and display a number most sequences never reach. The median says something more useful: half of the sequences finish above it, half below.

Which numbers should I enter if I already keep a journal?

Your observed win rate and average ratio, as they are · that is exactly what they are for. Just keep your sample size in mind: measured over 20 or 30 trades, those numbers are still very imprecise, and the simulation amplifies that imprecision · the reference table on this page shows how far a few points of win rate move everything. Re-running the simulation as your journal grows tells you more than a single pass ever will.

See also