1. Backtesting
Apply your exact rules to historical charts and record every trade as if you’d taken it.
Manual backtest
Scroll charts on TradingView bar-by-bar, mark trades in a sheet. Slow but builds intuition.
Software backtest
Use TradingView Pine Script, Python (pandas/backtrader) or broker/third-party tools to test many years quickly.
Metrics to check
| Metric | Why it matters |
|---|---|
| Number of trades | At least 100 for meaningful results |
| Win rate & average R | Shape of the edge |
| Expectancy | Average profit per trade |
| Max drawdown | Worst fall — can you survive it emotionally? |
| Longest losing streak | Prepares you mentally |
| CAGR vs buy-and-hold Nifty | Is it worth the effort? |
Backtesting traps
• Overfitting: tweaking rules until past results look perfect — fails in the future.
• Look-ahead bias: using information that wasn’t available at the time (e.g. day’s close for an intraday entry).
• Survivorship bias: testing only stocks that exist today, ignoring delisted ones.
• Ignoring costs: brokerage, STT, slippage can turn a “profitable” system into a loser.
• One market phase: testing only in a bull market.
2. Paper trading
Take trades in real time on a virtual account (many brokers and TradingView offer this) or simply in a spreadsheet.
- ✅ Learn order types, platform, and the discipline of following rules.
- ✅ Test the strategy in current market conditions.
- ❌ No real emotions — fear and greed feel very different with real money.
Suggested path: 1–2 months paper trading → real trading with very small size (e.g. 0.25% risk per trade) → gradually increase.
3. Algo trading
Your rules are coded so a computer scans, places and manages orders automatically.
| Advantages | Risks |
|---|---|
| No emotional interference | Coding bugs can place wrong orders fast |
| Speed and consistency | Overfitted strategies fail live |
| Can monitor many stocks | Connectivity/API failures |
| Easy to measure performance | Scams selling “guaranteed profit” algos |
In India, retail algo trading runs through broker APIs. SEBI has introduced a framework that requires algos to be routed through brokers with identification and controls, and restricts unregistered providers from offering algo strategies to the public. Check your broker’s current rules before using any algo.
“Every day at 3:15 PM, scan Nifty 100 stocks; buy if close is above 50 DMA and RSI crosses above 50; risk 1% per trade with stop at 2× ATR; exit on close below 20 EMA.” Backtest it in Pine Script or Python before ever running it live.
FAQs
Do I need coding for backtesting?
No — manual chart backtests work. Coding helps test more data faster.
If a backtest shows profit, will I make money?
Not guaranteed. Live results are usually worse due to slippage, costs and emotions.
- Backtest rules on 100+ trades, including costs
- Avoid overfitting and look-ahead bias
- Paper trade, then go live with tiny size
- Algo trading automates discipline but adds technical risks
- Avoid unregistered “guaranteed” algo sellers
For education only. Not investment advice. Mudra Monk is not a SEBI-registered investment adviser.
Leave a Reply