Thanks to visit codestin.com
Credit goes to www.scribd.com

100% found this document useful (2 votes)
281 views9 pages

Effective Backtesting

Uploaded by

Jerry S Maliki
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
281 views9 pages

Effective Backtesting

Uploaded by

Jerry S Maliki
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Table of Contents

1. The 100-Trade Rule (Minimum Baseline).......................................................2


2. Repetition Across Different Market Conditions................................................2
3. Tracking & Measuring Progress with a Journal...............................................2
4. Key Stages of Mastery.................................................................................3
5. Feedback Loop: Review, Refine, and Adapt....................................................3
6. Signs That You’re Mastering the Concept.......................................................4
7. How Long Does It Take?.............................................................................4
Conclusion...................................................................................................4
1. Define the Trading Concept or Strategy.........................................................5
2. Choose the Right Tools................................................................................5
3. Select Your Market and Time Frame.............................................................5
4. Scroll Back in Time....................................................................................6
5. Go Candle by Candle..................................................................................6
6. Log Every Trade........................................................................................6
7. Analyze Your Results..................................................................................7
8. Refinement & Optimization.........................................................................7
9. Simulate Live Conditions.............................................................................7
10. Repeat the Process in Live Markets..............................................................8
11. Common Pitfalls in Backtesting...................................................................8
12. How to Know You’ve Mastered the Concept..................................................8
Example of a Backtest Setup: Support and Resistance Strategy..............................8
Conclusion...................................................................................................9
There’s no fixed number of times it takes to master a trading concept like a line of sensitivity or
a reversal pattern. Mastery depends on several factors, such as the complexity of the concept,
the variability of the market, and your ability to identify patterns consistently in real time.
However, based on general trading principles, we can outline some guidelines to help you
estimate how long it might take and how you can ensure you’re mastering the concept.

1. The 100-Trade Rule (Minimum Baseline)

A common guideline among traders is the 100-trade rule, which suggests backtesting and
practicing a concept across 100 different setups before you can consider having a basic mastery.
This allows you to see the concept in different market conditions (trending, consolidating,
volatile, low liquidity).

 Why 100?: This number gives you enough samples to account for variability in market
conditions. You’ll observe how the pattern behaves during different market phases, such
as during news releases, ranging markets, or trending markets.
 Adjust If Needed: If the market conditions are highly variable, you might need more
than 100 examples to feel confident.

2. Repetition Across Different Market Conditions

Mastery in trading is not just about understanding a pattern but knowing how it behaves in
different market environments. Here’s why you need multiple repetitions:

 Trending Markets: The line of sensitivity or reversal patterns may work differently
when the market is trending. For instance, in strong uptrends, reversal patterns might be
weaker.
 Ranging/Sideways Markets: Reversal patterns tend to work more effectively here, but
you’ll need to practice identifying strong vs. weak signals.
 High-Volatility Markets: During news events or highly volatile times, even well-formed
reversal patterns might fail or behave differently than in stable conditions.

To truly master a concept, you need to see it repeatedly in these varying contexts and understand
how to adapt to each one.

3. Tracking & Measuring Progress with a Journal

You should track every instance where you use your concept, both in backtesting and in live
trading. Here’s what to record:

 Setup Identification: Did the market form a line of sensitivity or reversal pattern as you
expected?
 Outcome: Did the pattern lead to a profitable trade or not? How often does it succeed or
fail?
 Market Condition: What was the overall market condition when you took the trade
(trending, ranging, etc.)?

After completing your backtesting, go through your journal and look for patterns. If you find that
a certain setup works more often in a particular market condition, you can refine your strategy
based on that.

4. Key Stages of Mastery

Mastery isn’t a one-time event, but a process. You go through several stages before truly
mastering a concept:

 Stage 1: Learning the Concept


When you’re first introduced to the concept, you’ll study and understand how it works
theoretically (e.g., what a line of sensitivity or reversal pattern looks like). This is the
stage where you build basic knowledge.
 Stage 2: Practicing the Concept
Backtesting is crucial here. You’ll start applying the concept on historical data,
identifying setups, and tracking the outcomes. At this stage, you should do at least 100
instances of backtesting. You’ll make mistakes, but that’s part of learning.
 Stage 3: Applying in Demo or Simulated Environment
Once you’ve backtested and understand how the concept works, apply it to a demo
account or in a simulated market. This lets you practice in real-time market conditions
without risking capital. You’ll start understanding the nuances of how the concept
behaves in different market phases.
 Stage 4: Real-Time Application in Live Markets
After demo trading, you apply the concept in live markets with real money. Even though
you’ve practiced in backtests and demos, real-time market application will expose you to
trader psychology—emotions like fear and greed can impact decision-making. It will
take at least 20-30 trades in live markets to start feeling confident.
 Stage 5: Mastery Through Adaptation
You reach mastery when you can apply the concept consistently across different market
conditions, adapt it when necessary, and it becomes second nature. This stage may
require months of live practice and continuous journaling.

5. Feedback Loop: Review, Refine, and Adapt

One of the key aspects of mastering a trading concept is continuous refinement. After every
trade or backtest, review the outcome, assess what went right or wrong, and make adjustments.
This feedback loop is essential:

 Review the trade setups that failed. Did you misinterpret the pattern? Did the market
condition affect the setup?
 Refine the rules you use to identify the pattern (e.g., look for additional confirmations
like volume, price action, or momentum).
 Adapt based on what you learn. Markets change, and patterns might evolve. Your ability
to adjust to changing conditions is what separates beginners from experienced traders.

6. Signs That You’re Mastering the Concept

You’ll know you’re close to mastering the concept when:

 You Can Spot Setups Instantly: Identifying the line of sensitivity or reversal pattern
becomes second nature. You no longer second-guess your identification of the setup.
 Consistent Results: You start to see consistent results in your backtesting and live
trading. Even if not all trades are winners, you’ll notice that the concept delivers profits
more often than not.
 Less Emotional Reaction: You’ll notice that you can enter and exit trades based on the
concept without being emotionally affected. You’ve developed enough confidence in the
concept to stick to your rules.
 You Can Adapt: You can adjust your approach to the pattern when the market
conditions change, applying it effectively in both trending and consolidating markets.

7. How Long Does It Take?

The actual time frame it takes to master a concept varies depending on how much time you
dedicate to learning and practicing. However, here’s a rough estimate:

 Backtesting & Demo Trading: Typically takes 3-6 months of consistent practice if
you’re dedicating time daily to backtesting and demo trading.
 Live Market Mastery: Achieving mastery in live markets can take another 6 months to
a year, depending on how often you trade and review your results.

Conclusion

There’s no specific number of times that guarantees mastery of a concept, but following a
structured approach—like backtesting on at least 100 examples, applying it in demo accounts,
journaling your trades, and practicing in live markets—will allow you to progress systematically.
Consistency, refinement, and adaptation are key to turning theoretical knowledge into practical
mastery.

By continuously tracking your trades, reviewing your mistakes, and refining your strategy,
you’ll gradually master the concept and gain the confidence to apply it in real trading.

Backtesting is one of the most powerful tools for developing confidence in your trading strategy
and mastering technical concepts such as support/resistance, market structure, or entry
techniques. To perform effective backtesting, you need to follow a structured approach that
mimics real market conditions as closely as possible. Here’s a step-by-step guide for detailed
and effective backtesting, designed to help you understand and apply your strategy better:

1. Define the Trading Concept or Strategy

Before you start backtesting, clearly define the concept or strategy you’re testing. For example,
if it’s a support and resistance strategy, specify:

 How do you define support and resistance levels?


 What signals confirm entries (e.g., candle patterns, momentum, etc.)?
 What are your criteria for stop-loss and take-profit?
 What time frame are you testing? (e.g., 15-minute, 1-hour, daily)

Example: You might define your strategy as “Buy at major support after a bullish engulfing
candle with a stop-loss just below the support and a 2:1 risk/reward ratio.”

Key Tip: Write down your trading rules clearly before starting. This will help you avoid
subjective decisions later.

2. Choose the Right Tools

Use tools that allow you to accurately simulate past market conditions. These are the most
common tools used for backtesting:

 Trading Platforms: Many platforms like TradingView allow you to scroll back in time,
mark levels, and go candle by candle. Some platforms like MetaTrader 4/5 even offer
strategy testers.
 Manual Backtesting: This is where you scroll back manually on a chart and simulate
your entries, exits, and trade management. It’s more flexible for price action traders who
don’t use automated systems.
 Spreadsheet for Logging: Use a spreadsheet (Excel or Google Sheets) to track every
backtest trade you take. This is crucial for analyzing your results.

3. Select Your Market and Time Frame

Choose the market (forex, indices, commodities, synthetic indices like in Deriv) and time frame
(15-minute, 1-hour, daily) for your backtesting. Different markets and time frames behave
differently, so it’s essential to pick the one that matches your trading strategy.

Tip: Start with one or two markets and time frames to avoid over-complicating things. For
example, test your support and resistance strategy on the EUR/USD 1-hour chart.
4. Scroll Back in Time

To simulate a real-time trading environment, scroll back in time to a point where you can’t see
what happens next. This forces you to make decisions without the benefit of hindsight, closely
mimicking live trading conditions.

Avoid Cherry-Picking: Don’t jump to areas where you know price reacted well. Randomize
your starting point to avoid confirmation bias.

5. Go Candle by Candle

Move the chart forward one candle at a time as if you were trading live. Analyze each candle's
action, and when your setup (support, resistance, reversal pattern, etc.) appears, enter the trade.

Key Questions While Going Candle by Candle:

 Did price reach your key level (support or resistance)?


 Was there a confirmation pattern (like an engulfing candle or momentum shift)?
 Did you follow your trade rules for stop-loss and take-profit?

Example: When the price hits your identified support, wait for a confirmation signal (e.g., a
bullish engulfing candle) before entering the trade.

6. Log Every Trade

For each trade you take during backtesting, log it meticulously. This step is crucial for analysis.
Here’s a suggested template for logging your trades:

 Trade #: The number of the trade (for easy reference).


 Date and Time: The exact time of the entry (helps understand time-based patterns).
 Market & Time Frame: The asset and time frame (e.g., EUR/USD, 1-hour).
 Direction: Long or Short (Buy or Sell).
 Entry Price: The exact entry price.
 Stop-Loss: Where you placed your stop.
 Take-Profit: The target price.
 Risk-Reward Ratio: The expected risk/reward (e.g., 2:1).
 Outcome: Win or Loss, with the number of pips gained or lost.
 Comments: Note any observations, like market conditions, why the trade succeeded or
failed, or emotional reactions.
Tip: Use a spreadsheet to calculate average win rate, average risk/reward ratio, and profit
factor at the end of your testing.

7. Analyze Your Results

After backtesting at least 100 trades, analyze the data:

 Win Rate: How often does the strategy win? (Aim for 50% or higher, depending on the
risk/reward ratio)
 Risk/Reward Ratio: What’s your average risk compared to your average reward? If your
risk/reward is 2:1 or better, you only need a 40% win rate to be profitable.
 Profit Factor: This measures your overall profitability. It’s calculated by dividing total
profits by total losses. A profit factor above 1.5 is considered good.
 Market Condition Patterns: Did the strategy work better in trending markets? Ranging
markets? Volatile periods?

Tip: If you find that the strategy only works in certain conditions, refine it. For example, you
may find that support and resistance work best in ranging markets, not trends.

8. Refinement & Optimization

After your initial analysis, you might notice areas where your strategy needs refining. For
example:

 Entry Filters: Maybe you’re entering too early. Add another filter, like waiting for
confirmation from a higher time frame (multi-timeframe analysis).
 Stop-Loss Placement: If your stop-losses are hit too frequently, review whether you’re
placing them too tight.
 Trade Management: Do you take profits too early? Consider refining your take-profit
strategy by using trailing stops or partial exits.

After these refinements, repeat your backtesting process with the new rules to see if they
improve results.

9. Simulate Live Conditions

Once you’ve backtested successfully, move to a demo account to simulate live market
conditions. Treat it as if you were trading with real money:

 Follow the exact rules you developed.


 Record your trades as you did in the backtesting phase.
 Track your emotional responses, as they can be different when trading live.

The demo phase is crucial because live markets introduce emotions like fear and greed, which
don’t affect backtesting.

10. Repeat the Process in Live Markets

After demo trading, move to live trading with small position sizes. Continue tracking trades and
results. The psychological aspects of trading with real money often bring new challenges, so it’s
essential to practice with small risk until you’re fully confident in your system.

11. Common Pitfalls in Backtesting

 Hindsight Bias: If you can see what happens next, your analysis will be influenced by
future knowledge. Make sure you test from a point where you don’t know the outcome.
 Curve Fitting: Be careful not to tweak your strategy so much that it only works on
historical data (curve fitting). A strategy should work across different markets and time
periods.
 Neglecting Market Conditions: Markets are dynamic. A strategy that works in one
condition (e.g., trending) may fail in another (e.g., ranging). Make sure to test across
various market conditions.

12. How to Know You’ve Mastered the Concept

After you’ve thoroughly backtested and traded live, you’ll start to feel a level of confidence and
consistency. You’ll know you’ve mastered the concept when:

 You can identify setups easily in real time without second-guessing.


 Your trades are consistently profitable across different market conditions.
 You’re making decisions based on your system, not emotions.
 You can adapt the concept based on live market feedback (e.g., adjusting for volatility or
market sentiment).

Example of a Backtest Setup: Support and Resistance Strategy

1. Concept: Trading at key support and resistance levels.


2. Rules:
oIdentify clear support and resistance zones on the chart.
oWait for a strong price action signal (e.g., engulfing candle, pin bar).
oPlace stop-loss just below the support for buys and above resistance for sells.
oTarget 2:1 risk/reward ratio.
3. Execution:
o Scroll back in time to the EUR/USD 1-hour chart.
o Identify key levels.
o Move forward candle by candle.
o Enter a trade when a setup forms.
o Log the result and repeat for 100 trades.

Conclusion

Effective backtesting is a thorough, disciplined process that helps you develop confidence and
precision in your trading strategy. By following these steps—defining your strategy, using proper
tools, tracking every trade, and continuously refining—you’ll build a robust understanding of
how your strategy performs in various market conditions. Eventually, this process will translate
into more consistent results when trading live.

You might also like