Menu
  • Crash Course on Orderflow
  • Training
  • Premium
  • Traders Cafe
  • Intraday signals
  • MCX Signals
  • Library

Marketcalls

Simply Intelligent Technical Analysis and Trading Strategies

  • Software
    • Amibroker
    • NinjaTrader 7
    • Ninjatrader 8
    • Option Action
    • Market Analyst
    • Metatrader
    • Python
    • Datafeed
  • Market Profile
    • Orderflow
  • Markets
  • Commodities
  • Forex
  • Economy
    • Banking
  • Webinars
  • Trading Lessons
    • Algo Trading
    • Infographic
    • Video
You are here: Home / Trading Lessons / 7 Things a Trader Should Understand to Do Proper Backtesting

7 Things a Trader Should Understand to Do Proper Backtesting

May 26, 2015 by Rajandran 18 Comments

Backtesting is a process of Testing the trading conditions with respect to the past historical data, evaluating not only the profitability of the system but the underlying risk factor associated with the Trading/Investing Model. Proper Backtesting gives belief and enough confidence to a trader to trade a set of rules. But are the newbie traders really doing proper backtesting?

The Answer is Nope! Some of the common misunderstanding among the newbie traders are

1)Backtest a trading system with limited dataset and if the system gives 60-80% winning ratio or 10% guaranteed returns every month then the newbie trader expect the same to extend in the future. In reality you cannot simply beat the market every month on month consistently and get guaranteed returns. Moreover the shorter time duration of backtesting (3-6 months) doesn’t cover most of the trading scenarios. Testing a strategy with small test data is dangerous and more possibe that it could provide misleading results.

Backtesting

 
2)Doing a backtest without position sizing : This is one among the mistake made by most of the fellow newbie traders. They dont give priority to position size and so by default most of the trading analysis softwares utilizes 100% of capital everytime and the 100% of returns are reinvested in each and every trade in default backtesting scenario without position sizing. Most of the times such kind of backtesting reports provides misleading, compounded and exotic results. In a real world scenario most of the traders dont want to reinvest their profits or they opt for fixed/variable quantity trading randomly (atleast a newbie traders) mostly non systematic and treating profits as their part of additional income. But the backtesting results are mostly systematic end results not suitable for discrete trading most of the time.

3)Focusing on Profits rather than Risk: Most of the fellow newbie traders focus on strategies that makes money for them however they failed to concentrate on the risk involved in trading system. Some of the questions a trader has to ask himself before trading a trading system. Here are few

i)Am I enough leveraged to trade such strategy?
ii)Does this trading strategy suits my trading style?
iii)Does this strategy can be traded by a Part time or seasonal/Lunch Time Trader?
iv)What is the worst case scenario happened in the last 5-10 years of historical data?
v)Which is the right timeframe to trade this strategy?
vi)What is the worst case scenario involved in trading the strategy?
vii)How many consecutive losses this strategy had made the past? What if the strategy is going to give 10-12 consecutive losses?
viii)How much Iam willing to loose in a worst case scenario?
ix)Does the strategy has enough risk-reward ratio?
x)Can i handle a drawdown of more than 3 months mentally?
xi)How much drawdown I can withstand trading a system before shutting them down?
xii)Should I have to book partial profits? Should I have to fix a trailing stoploss/fixed stoploss? Which is the most efficient one?

Backtesting gives the enough information about the risk involved in any sort of trading system. There is a saying that once the risk is controlled in your trading system the profitability is take care by itself by the trading system.

4)Testing the Trading System Visually : This is again a dangerous game played by the newbie traders which most of the times ends with misjudging a trading strategy. Too many human errors are involved in visual backtesting and moreover it is time consuming and so the manual paper trading requires hell a lot of patience to test each and every trading conditions visually and more accurately. To speed up the process and to avoid most of the human errors it is recommended to do statistical backtesting where in a touch of button you can get the complete backtest report for years within few seconds provided the trading conditions are set right. There are few other factors which we mentioned in our article 20 reasons why your buy sell signal indicator will fail

5)Not including Trading Cost : This is yet another mistake committed by fellow traders. If you are serious about trading your strategy then you should consider including your trading cost (Trading Software, datafeed, Internet Charges, Brokerage, Transaction Cost, Impact Cost, Slippages ,rollover cost..etc) to get more realistic results. These cost may seems negligible to you but in the long run its affects the overall performance of the trading system if not given enough consideration in your backtesting results.

6)Too much of Curve fitting : This is the mistake committed by newbie and fellow experienced traders. Once you know how to do optimization then next step people want to do is to find the best parameters which works in the past with great results. And keep on adding more optimization parameters to fine tune the system is yet again a dangerous game and often leads to curve fitting. It is often recommended to use not more than 2 optimization variables in any trading system.

7)Last but not least backtest a trading system and if the system gives descent results then the next step of a newbie trader is to trade live without validating the model. There are various ways to validate the model. One is doing a simple forward testing and checking how the trading system performs in the live market withtout trading the system and taking all the trading cost in consideration(the actual paper trading). The other methodologies to validate a model are performing walkforward testing & monte carlo simulation which we will discuss more in out upcoming articles.

Related Readings and Observations

  • USING DOW THEORY TO CAPTURE PROFITS – Part 1USING DOW THEORY TO CAPTURE PROFITS – Part 1 Dow Theory is one of the most important trend following theories ever. As market evolved, the concepts of Technical analysis became more elaborated and complex, most essential foundation […]
  • Things to Consider Before Creating your Own Trading StrategyThings to Consider Before Creating your Own Trading Strategy Backtesting and Optimization to be pretty much essential step in trading strategy development. If the strategy is not performing well in the backtest results we can skip the system and […]
  • Introduction to Backtesting a Trading System using AmibrokerIntroduction to Backtesting a Trading System using Amibroker Backtesting is a simple process which helps a trader to evaluate his trading ideas and provides information about how good the trading system performs on the given historical dataset. It […]
  • Supertrend V4.0  – Amibroker AFL CodeSupertrend V4.0 – Amibroker AFL Code Compared to Supertrend 3.0 with the new version two interesting features has been added. One is a simple EMA filter rule is added to Buy and Short Conditions and changes in the dashboard […]
  • Using Discretionary trading for Profitable AdvantageUsing Discretionary trading for Profitable Advantage As with every field in finance there is a large amount of misconception about discretionary trading, which is highly profitable and led some to believe such a type of trading is purely […]
  • Event Spike an Introduction : Price Action StrategyEvent Spike an Introduction : Price Action Strategy A large parabolic movement which follows an event such as earnings announcement, Economic reports etc.called " Event spike ". This move is all about feeding frenzy or herd behavior of […]

Filed Under: Trading Lessons Tagged With: Backtesting, Curve Fitting, Forward Testing, Trading Cost, Trading Lessons, Trading Strategy, Trading System

About Rajandran

Rajandran is a Full time trader and founder of Marketcalls & Co-Founder of Traderscafe, trades mostly using discretionary Trading Concepts like Market Profile, Trading sentimental analysis, building timing models, algorithmic trading models. Instructs professional traders, full time traders & aspiring full time traders. Rajandran attended college in the Chennai where he earned a BE in Electronics and Communications. Rajandran has a broad understanding of trading softwares like Amibroker, Ninjatrader, Esignal, Metastock, Motivewave, Market Analyst(Optuma),Metatrader,Tradingivew,Python and understands individual needs of traders and investors utilizing a wide range of methodologies.

Comments

  1. SUDIP HALDAR says

    May 26, 2015 at 1:11 am

    sir wonder full & thanks a lot

    Reply
    • sachin says

      February 4, 2016 at 12:05 pm

      But how to trade in Backtest trading… give example

      Reply
  2. srikanth says

    May 26, 2015 at 10:59 am

    fabulous sir thanks for info
    .

    Reply
  3. Nasrudeen says

    May 26, 2015 at 12:38 pm

    Excellent article! Not to mention, most newbie traders use repainting strategies to evaluate back-testing which will always show impressive results; however it can blow the trading capital if taken to live account..

    Reply
  4. ASHISH KOTHARI says

    May 26, 2015 at 2:37 pm

    Dear Sir,

    Kindly help me and advice me that which particular strategy you feel is better of the A , B and C ?

    Strategy A: Backtesting from 01-April-2013 to 31-March-2015 ( 2 years )

    Number of Trades: 490
    Avg. Profit/Loss % : 0.24%
    Winning %age : 44.29
    Profit Factor: 2.06
    Sharpe Ratio: 2.80

    Strategy A: Backtesting from 01-April-2013 to 31-March-2014 ( 1 year)

    Number of Trades: 245
    Avg. Profit/Loss % : 0.37%
    Winning %age : 48.98
    Profit Factor: 2.62
    Sharpe Ratio: 3.75

    Strategy A: Backtesting from 01-April-2014 to 31-March-2015 ( 1 year)

    Number of Trades: 245
    Avg. Profit/Loss % : 0.10%
    Winning %age : 39.18
    Profit Factor: 1.42
    Sharpe Ratio: 1.40

    Strategy B: Backtesting from 01-April-2013 to 31-March-2015 ( 2 years )

    Number of Trades: 228
    Avg. Profit/Loss % : 0.27%
    Winning %age : 43.42
    Profit Factor: 1.63
    Sharpe Ratio: 2.13

    Strategy B: Backtesting from 01-April-2013 to 31-March-2014 ( 1 year)

    Number of Trades: 136
    Avg. Profit/Loss % : 0.22
    Winning %age : 39.71
    Profit Factor: 1.46
    Sharpe Ratio: 0.96

    Strategy B: Backtesting from 01-April-2014 to 31-March-2015 ( 1 year)

    Number of Trades: 92
    Avg. Profit/Loss % : 0.36%
    Winning %age : 48.91%
    Profit Factor: 2.14
    Sharpe Ratio: 2.08

    Strategy C: Backtesting from 01-April-2013 to 31-March-2015 ( 2 years )

    Number of Trades: 38
    Avg. Profit/Loss % : 2.37%
    Winning %age : 63.16
    Profit Factor: 8.79
    Sharpe Ratio: 2..45

    Strategy C: Backtesting from 01-April-2013 to 31-March-2014 ( 1 year)

    Number of Trades: 26
    Avg. Profit/Loss % : 2.45%
    Winning %age : 61.54%
    Profit Factor: 10.16
    Sharpe Ratio: 2.88

    Strategy C: Backtesting from 01-April-2014 to 31-March-2015 ( 1 year)

    Number of Trades: 12
    Avg. Profit/Loss % : 2.30%
    Winning %age : 66.67%
    Profit Factor: 6.96
    Sharpe Ratio: 2.16

    Observation with Strategy A: Performance of Profit Factor & Sharpe Ratio was very good in FY 2013-14 but starts deteriorating in FY 2014-15

    Observation with Strategy B: Performance of Profit Factor & Sharpe Ratio was very bad in FY 2013-14 but starts improving very nicely in FY 2014-15

    Observation with Strategy C: Performance of Profit Factor & Sharpe Ratio is quite good in FY 2013-14 and also in FY 2014-15 but the problem here is the number of Trades generated are very low.

    Kindly help me and advice me that which particular strategy you feel is better of the A , B and C ?

    Thanks & Regards

    Ashish Kothari

    Reply
    • Rajandran R says

      May 26, 2015 at 5:16 pm

      You cannot judge a trading system with just 2 years of data. It is recommended to test in high volatility zones like 2008, 2009 and in the low volatility zones like 2012 and 2013. More observation is required.

      Reply
      • ASHISH KOTHARI says

        May 26, 2015 at 8:24 pm

        Dear Sir,

        I trade only with MCX Gold.

        The only data I have of MCX Gold is from the period 01-April-2013 to till date. I have been trying a lot to get more & more number of previous years of data for MCX Gold but unfortunately all my attempts are futile

        Can you please suggest/advice me that from where can I purchase Historical IEOD of MCX Gold for the years before 01-April-2013 ???

        Kindly suggest/advice me

        Thanks & Regards

        Ashish Kothari

        Reply
  5. VD says

    May 26, 2015 at 2:47 pm

    YES wonderful Exp Shared…..loved reading all your article…

    Keep Posting

    Reply
  6. ASHISH KOTHARI says

    May 27, 2015 at 12:03 pm

    Can you please suggest/advice me that from where can I purchase Historical IEOD of MCX Gold for the years before 01-April-2013 ???

    Reply
    • Rajandran R says

      May 27, 2015 at 3:49 pm

      Even I have a minimum collection. GDFL provides IEOD feeds. But the feeds are not continous contracts its non continuous contracts.

      Reply
  7. Mohit Jhanjee says

    May 27, 2015 at 10:46 pm

    Excellent article, truly a gem for any serious trader who has a goal to trade with system. A trader without system must not only read but re- read and then work on to design the system.. Looking forward for your next on monte carlo simulation .

    Reply
  8. ashu says

    May 28, 2015 at 7:53 pm

    There’s a guy who said something about backtesting

    If past history was all there was to the game, the richest people would be librarians.

    Warren Buffett
    🙂

    Reply
  9. Siju Thomas says

    May 28, 2015 at 8:16 pm

    wonderful article,very true, we should never trade unless proper backtesting done

    Reply
  10. vijay sharma says

    June 12, 2015 at 7:02 pm

    Dear Ashish,
    Which system you are back testing … can you. guide us.I will arrange data for you srom 2011.

    Reply
  11. Surya says

    September 1, 2015 at 9:55 am

    its very true, read the article at least 5 times before investing. Important point is MDD which will clearly tell the capital required for your trading.

    Thanks a lot rajandran you are doing the best free service which helps the trading community a lot…

    Reply
  12. S. Prem Kumar says

    October 9, 2015 at 10:53 am

    Sir,
    Good article. Kindly keep on posting valuable articles regarding trading.
    Thank you

    Reply
  13. BASANT KUMAR says

    January 8, 2017 at 5:48 pm

    sir

    i want to buy this software . software is available ?

    Reply
  14. NARENDRA SEIWAL says

    January 12, 2017 at 8:01 am

    please guide me points wise for what type of trade strategy I follow according as per my below given point wise query.
    1 – After generate 2nd candle is opposite to trade with same or big size of candle so can we taken trade or not taken or wait for next trade please specify in detail.

    2 – If I want safety first with low risk of my investment in case of low profit so what type of trade you recommended from of commodity or stock or Nifty or bank nifty future or Nifty Option for long term continues trade till one year & it will be positional or intraday/ BTST/ STBT SM charts signal.
    3 – What you recommended for trade daily in different commodity or stock or Nifty or bank nifty future or Nifty Option segments or done in any one segment & what is time frame & can I done continue trading in Nifty or bank nifty future or Nifty Option till one year.
    4 – Any more accurate tips positional or one to two days long provide on profit sharing basis for of commodity or stock or Nifty or bank nifty future or Nifty Option & if provide so what is the ratio for profit sharing between you & me.
    5 – 5 to 6 trade are in continue losses In many segments of commodity or stock or Nifty or bank nifty future or Nifty Option so can done 6th or 7th trade in case of book continues loss in last 5 trade have loss & if what is base of 85 % accuracy in case of continues loss in last 5 trade have loss.
    6 – Continue update of stop loss is very difficult for working person for intraday trade for all week so ARE any POP UP OR SOUND ALERT provide at time of update or stop loss hit of trade like other chart service.
    7 – Stop loss not hit of any of commodity or stock or Nifty or bank nifty future During Gap up or Gap Down opening & Loss book at open price so any advice from you for insure of hit stop loss.
    GIVEN solution please.
    Awaiting for your detail reply on my all above query please for maintain long term relation please.
    Regards
    Narendra seiwal

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Email Newsletter

Sign up to receive email updates on latest trading strategies , analysis & financial market updates

We Respect Your Privacy

Premium Access

Username:
Password:
Remember Me
Lost your password?

Tools For Traders

  • Marketcalls Android App
  • MCX Signals
  • Intraday Signals
  • International Commodities
  • OI Tracker
  • Participation OI
  • Your Broker
  • Market Sentiment Analysis

Amibroker Updates

[Recorded Webinar] How to Send Bracket Order, Cover Order and Multiple Orders using Amibroker and AlgoAction Platform

December 25, 2018 By Rajandran 1 Comment

AlgoAction Now Supports Bracket Order and Multi Orders

December 23, 2018 By Rajandran Leave a Comment

Code Snippet : ORB – Open Range Breakout Levels – Amibroker AFL Code (Better Version)

December 4, 2018 By Rajandran 1 Comment

Button Trading in Amibroker using AlgoAction Platform

December 2, 2018 By Rajandran Leave a Comment

[Recorded Webinar] Chart Based Vs Scan/Exploration Based Automated Trading – Amibroker

December 2, 2018 By Rajandran 1 Comment

  • Facebook
  • Google+
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Metatrader Updates

MetaTrader 5 Demo Servers Now Available for BSE Currency Markets

March 20, 2018 By Rajandran 8 Comments

ChartIQ – WebTrader for MT4

December 4, 2017 By Rajandran 4 Comments

Metatrader 4 – Web Platform Overview

October 29, 2015 By Rajandran 9 Comments

William VIX FIX Indicator for Metatrader 4

May 16, 2015 By Rajandran 9 Comments

How to Install Custom MQL4 indicators in Metatrader

November 14, 2014 By Rajandran 6 Comments


About | Contact Us | Terms and Conditions | Privacy Policy | Support Policy | Privacy Policy | Refund Policy | Disclaimer


© Copyright 2018 Marketcalls Financial Services Pvt Ltd · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·

Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither marketcalls.in website nor any of its promoters shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon.