Strategy lab
See what risk and costs do to a strategy
Pick a synthetic instrument, set your risk rules and run a simple breakout rule. Every trade is listed so you can see where the result came from. The data is generated, not real.
Want to keep your runs and link them to your journal? Open the lab in your learning area. Nothing on this page places an order or gives a signal.
Synthetic sample data: Generated from a fixed seed. Not a real market.
Rule: buy when a bar closes above the highest high of the last 20 bars. Long only. Education, not a trading idea.
- Trades
- 6
- Win rate
- 50%
- Expectancy
- 0.45 R
- Gain/loss ratio
- 1.49
- Net result
- ₹1,436.98
- Return
- 1.4%
- Max drawdown
- 1.9% (₹1,921.02)
- Longest adverse run
- 2 trades
- Costs paid
- ₹240
- Best / worst trade
- 2 R / -1.1 R
Distribution of results (in R)
- Below -1R0
- About -1R3
- -0.5R to 00
- 0 to 1R0
- 1R to 2R3
- 2R and above0
Stress test: ten adverse trades in a row
| Losses | Balance | Drawdown | Rise to recover |
|---|---|---|---|
| 1 | ₹99,000 | 1% | 1% |
| 2 | ₹98,010 | 2% | 2% |
| 3 | ₹97,029.9 | 3% | 3.1% |
| 4 | ₹96,059.6 | 3.9% | 4.1% |
| 5 | ₹95,099 | 4.9% | 5.2% |
| 6 | ₹94,148.01 | 5.9% | 6.2% |
| 7 | ₹93,206.53 | 6.8% | 7.3% |
| 8 | ₹92,274.47 | 7.7% | 8.4% |
| 9 | ₹91,351.72 | 8.6% | 9.5% |
| 10 | ₹90,438.21 | 9.6% | 10.6% |
Trade log
| # | Entry bar | Entry | Stop | Exit | Why it closed | Units | Result | R |
|---|---|---|---|---|---|---|---|---|
| 1 | 27 | 24,129.58 | 23,760.96 | 24,866.84 | Target | 2 | ₹1,434.52 | 1.95 |
| 2 | 51 | 24,880.78 | 24,421.02 | 24,416.14 | Stop | 2 | -₹969.27 | -1.05 |
| 3 | 113 | 24,245.98 | 23,794.86 | 23,790.11 | Stop | 2 | -₹951.74 | -1.05 |
| 4 | 156 | 24,748.74 | 24,211 | 25,824.22 | Target | 1 | ₹1,035.48 | 1.93 |
| 5 | 196 | 26,492.24 | 26,002.38 | 27,471.96 | Target | 2 | ₹1,919.45 | 1.96 |
| 6 | 204 | 27,767.89 | 27,277.62 | 27,272.17 | Stop | 2 | -₹1,031.45 | -1.05 |
