# #009: MY LITTLE SECRET: APPLICATION OF MONTE CARLO

### Even though I have been living for years just a few hours’ drive from Monte Carlo, I've visited it just recently? (Yes, I traveled to over 60 countries but I almost don’t know my own neighborhood!). Yet, I’m in contact with Monte Carlo every single day. In fact, I’m in love with Monte Carlo! :-)

What I’m really talking about here, is a Monte Carlo Analysis (often abbreviated to MC or MCA), of course, not about the country of luxury yachts and super rich people. Monte Carlo Analysis (MCA) has been one of my favorite tools since the very beginning, perfectly fitting my rather conservative trading style.

How exactly does MCA work and how do I use it?

So, let’s be more practical here and see some examples. In general, you can perform an MCA in an Excel Spreadsheet (I’m sure there is MCA in Excel on the internet), or use some more advanced, commercial tools, like Market System Analyzer, which I often use.

In its essence, it usually works like this:

1. You take all your backtest results, the more, the better. If you have just your P/L values of all your trades, that is sufficient.

2. You randomly change the order of all your backtest trades (you “shuffle” your results). With the trade order changed, there will be a different worst case drawdown than the one you have from your backtest results. You’ll  note down the value of the new maximum drawdown obtained from the randomization of the trades order.

3. You repeat this process many times. The required minimum is 500 times. However, my heavy testing of MC concepts shows that you should use many more iterations – preferably 10,000.

4. Now you’ll have 10,000 different variations of the worst drawdown (each iteration will produce a different worst max drawdown value). What you need to do, is getting a so-called “95% confidence level”.

5. It simply means that you’ll sort all those 10,000 different values of the worst possible drawdown from the smallest to the biggest. Now you’ll find the line number 9.500 and that drawdown value you find on this line is the one that represents the 95% confidence level.

6. And this is “your number”. This is the real worst possible maximum drawdown, which you’ll probably experience in the future (in live trading). This is the number you need to be prepared for and to use for your capitalization. When this maximum drawdown is exceeded by even a bigger one in real-time trading, you should seriously start questioning your strategy – its lifetime might be at its very end.

### As I already said, MCA is an absolutely essential and crucial concept for my trading. I use it, in many ways (new and creative) every day. It’s the most important part of a workflow for any serious trader. It’s the best (and perhaps the only) way to build a bulletproof defense for your trading.

Therefore, I’ll close this article with an example, which should make the MCA concept really clear for anyone.

For the purpose of this example, I took my own ATS called Tom's BOSS. I took one of my current parameter sets and upload the data into MSA software. This is how the equity on emini Russell 2000 market looks like:

The important part is the maximum drawdown, which is, as you can see, in this case, 3,300 USD.

Now, let's “shuffle” the equity several times – simply randomize the order of the trades. This is the same system; nothing has been changed except for the order of trades (which is, btw., one of the many possibilities of the future trades order):

As you can see, the maximum drawdown has now popped up to 7,030 USD! And all it takes is to use a different order of your trades.

So, let's perform a full MCA. Let's shuffle our trades 10,000 times and see the maximum drawdown at the 95% confidence level. This is the setup I’ve used:

And here you can see the results:

As you can see, the worst possible drawdown is 7,530 USD. This is a highly probable drawdown that you can get any time in the future – in your live trading!

So, this is the number you need to work with, to get ready for and to capitalize on properly. This is what the future might look like (and from my experience, it often does), no matter what your original backtesting maximum drawdowns was. This number is the only serious one you should always consider. Don’t fight this concept. It’s one of the most important concepts in trading. I’ve been extremely lucky to use it since almost the beginning of my trading career.

Tomas

P.S. I was in Monte Carlo just a few weeks ago. For the very first time. In general, Monaco is a great place to visit! It is the 61st country I visited. My systems on the road just rock!

##### Author: Tom Nesnidal (more about me)
###### What others are saying

"Tomas is one of the most creative traders I know. He is able to generate unique trading ideas and elegant solutions to system development challenges."

"Tomas has been a professional trader for more than a decade and I have had the privilege of monitoring his accounts in action since 2006. His systems are performing as some of the best I have ever monitored and executed. I have been in the trading industry since 2002 and worked with many developers from all over the world. Tomas is definitely the one to consider."

Martin Lembak,

MFRM, CAIA

"Tomas is a professional trader, who for the last 10 years has specialized in developing trading systems. We have been tracking his trading systems for about 5 years and they generally show very robust, stable and above average performance. Striker is pleased to work with someone like him - a real professional with enthusiasm and deep knowledge of trading."

William Galwas, President Of Striker Securities, Inc

"Personal consultation with Tom helped me to re-evaluate the complexity of my robustness testing and optimization processes. Plus, it has helped me with a specific plan on how to take things forward. It has given me some great ideas on how to avoid overfitting and make my testing more robust and provided tips on low hanging fruit in terms of the best markets to trade for intraday/short-term breakouts."

Craig Peters,

United Kingdom

"Tom's approach to Automated Trading Strategies design, tests of robustness and portfolio diversification is really unique. He has been a professional trader for many years and the depth of his understanding of Breakout strategies and Market Internals is hard to find elsewhere."

Antonin Fisher,

Hedge Fund Manager,

Czech Republic

"Tom´s systems and trading approach do really work and can bring good, stable and reasonable returns. I can highly recommend him as a teacher."

David Hruby,

"Tomas is truly an inspiring mentor and great trader with a positive life attitude. He has got very deep understanding of markets, breakout strategies, robustness testing procedures, and Market Internals."

Jan Lesanovsky,

Client, United Kingdom

"As an experienced trader, I used Tomas´s consultation to get more clarity on best-practise robustness testing procedures, risk management, and portfolio management. He was quickly able to help me refine my current trading and system development approaches, and pointed me to really practical measures that I could implement immediately. I found Tomas to be not only extremely knowledgeable but very helpful and a great teacher. This has given me more confidence in developing robust strategies that work, and I would recommend his mentoring as extremely valuable for any systems trader."

Trevor West,