What is Strategies?
Backtesting applies strategy rules to past data to estimate performance — subject to bias.
Formula
Backtest Process: 1. Define Strategy Rules Entry: Buy when price crosses above 20 EMA Exit: Sell when price crosses below 20 EMA Stop: 3% below entry 2. Apply to Historical Data Test period: Jan 2020 - Dec 2024 Stock: NIFTY 50 Timeframe: Daily 3. Record All Trades Trade 1: Buy ₹11,500, Sell ₹12,200 = +6.1% Trade 2: Buy ₹12,100, Stop ₹11,737 = -3.0% ... (100+ trades) 4. Calculate Metrics Win Rate: 45% Average Win: 8.2% Average Loss: 3.1% Profit Factor: 1.9 Max Drawdown: 12%
Indian market context (NSE)
Reference levels: Nifty 50 at 24,300, Reliance Industries at ₹1,300, Bank Nifty futures at 55,000 (lot size 30). Examples below show how Strategies shows up on Indian index, equity, and futures books — update to live quotes in your journal.
Nifty 50 perspective
Backtesting in Indian context at Nifty 24,300: apply SEBI/regulatory framing where relevant and tag index trades separately in weekly review.
Reliance Industries perspective
Backtesting using Reliance at ₹1,300 as a liquid large-cap example — adjust numbers to your live quote and contract note.
Bank Nifty futures perspective
Backtesting with Bank Nifty futures at 55,000 — respect lot size 30 and quarterly vs monthly contract rules on NSE.
How to validate
- Validate Strategies only after costs — gross win rate can hide negative expectancy.
- Use walk-forward windows (e.g. last 60 / prior 60 trades) for stability.
- Retire or refactor the tag if Strategies expectancy turns negative with 50+ trades.
- Ensure no overlapping tags duplicate the same trades.
How to track in TradeLyser
- Define Strategies in Strategy Board with entry/exit/skip criteria.
- Enforce single-tag discipline — no secondary discretionary entries.
- Review expectancy, win rate, and avg R monthly on the tag only.
- Archive tag version when rules change; do not blend old and new trades.
Best practices
- One playbook page per Strategies strategy with non-negotiable rules.
- Paper trade rule changes for two weeks before live size.
- Track costs explicitly on high-frequency Strategies variants.
- Compare versioned tags after each rule amendment.
Common pitfalls
- Adding discretionary trades under the Strategies tag.
- Scaling up after one lucky week of Strategies results.
- Ignoring brokerage drag on high-frequency variants.
- Retiring a tag without exporting final statistics.
How to use this in TradeLyser
Store backtest params in strategy doc; compare live tag to backtest assumptions quarterly.
Related terms
Algorithmic trading automates entries, exits, and sizing via code or platform rules, reducing discretion at execution.
Expectancy answers whether your edge pays each time you repeat the setup. Positive expectancy means the system earns over many trades; negative expectancy means it bleeds even with a high win rate.
Paper trading executes strategy on live or historical data without real money risk.
Discipline is repeatable adherence to entries, exits, size, and pause rules — especially after wins and losses.
FAQ
Backtest with Indian costs?
Include brokerage, STT, slippage — net only.
Nifty futures roll in backtest?
Continuous series choices matter — document method.
Start journaling with
TradeLyser
Connect your broker, tag strategies, and review performance with AI-assisted insights.