Working Money magazine.  The investors' magazine.
Traders.com Advantage

INDICATORS LIST


LIST OF TOPICS





Article Archive | Search | Subscribe/Renew | Login | Free Trial | Forgot ID?


PRINT THIS ARTICLE

TRADING SYSTEMS


Trade System Stats For Beginners

01/31/11 10:06:32 AM
by Donald W. Pendergast, Jr.

Not sure how to properly interpret all of those TradeStation performance summary reports for your trading systems? Here's a quick primer for those who need a little help sorting the wheat from the chaff.

Security:   @TF
Position:   N/A

Assuming that you already have a statistically viable trading concept, one that you or another skilled programmer can write in EasyLanguage format, the next step is to learn how to interpret the backtested output of your strategy in the TradeStation Strategy Performance report. Before giving some insights as to the most meaningful stats in the report, let's get a few things straight about what you ultimately want to accomplish with your trading strategy.

Ideal goals for any trading system are:

1. A smooth, steadily rising equity curve
2. A modest profit to maximum drawdown ratio
3. A strong profit factor (1.5 to 1 or better for intraday systems and at least 2 to 1 or better for swing and/or position trade systems)
4. A very low risk of ruin factor
5. The maximum number of consecutive losers and/or maximum drawdown factor is well within your psychological comfort zone
6. More than enough trades to confirm that the strategy is statistically viable -- in both backtested and walkforward mode -- so realistically, you should test the strategy on at least a couple of years of intraday data and perhaps as much as 20 to 40 years for daily data for longer-term systems, using a variety of in-sample and out-sample mixes to confirm that the system can produce profits in many kinds of market phases.
7. Last but not least, you want to see the system produce profits -- and plenty of them, being sure to use realistic amounts for both commissions and slippage in your testing procedures.

These are some of the major issues you'll need to address before actually trading your new system with real money. See Figure 1.

FIGURE 1: PERFORMANCE SUMMARY. There are dozens of useful statistics listed in the various tabs of the TradeStation strategy performance report. Highlighted here are some of the more important ones that intraday trend-following system developers will want to focus on.
Graphic provided by: TradeStation.
 
That said, look at Figure 1 for an intraday emini stock index futures trading system that has shown strong performance in both backtested and walkforward, real-life trading. This is a recent backtest report for the system, covering six months of hypothetical trading and is calculated using per contract commission and slippage figures of $2.50 and $10, respectively.

Here are the high points:

* The system made almost $12,000 in a six-month period across 167 trades.
* It made more money on the long side than the short side, mostly because of the tremendous uptrend in the US stock indexes since last summer. However, it still performed very well in and of itself when going short.
* It wins about 47% of the time (are you getting nervous?).
* The profit factor is 1.58, a good number for a daytrading system.
* It had seven winners in a row at one point and also had five losers in a row at another point during the same test period.
* The system stays in winning trades nearly two and a half times longer than it does in losing trades.
* It has an annual rate of return (return on initial margin, that is) of 155%. Passbook savings account, anyone?
* The maximum closed trade drawdown came in at $1,690, meaning that the net profit as a percentage of drawdown was better than 700%.

Generally speaking, these are very respectable back test performances for a one-lot emini Russell 2000 futures system. While all of the stats in the report are useful, the ones you really want to focus on are the net profit, profit factor, and the ratio of the net profit to maximum close trade drawdown stats. Last but not least, you'll also want to verify that the equity curve is as straight as possible and rising steadily at a nice upward angle. If these four individual factors are all in good shape, chances are the rest of the stats in the report will also be very much to your liking as well.

Figure 2 shows the equity curve for this particular backtest. Overall, this is the kind of equity curve you wish to see -- not too much time spent going sideways, and the drawdowns are modest. The time between successive equity curve highs is minimal as well (see the green dots on the chart; those are the new peak values in the curve).

In backtest mode, the system does just fine. What's next? Now the fun part begins -- now you need to run the system in walkforward mode until you're satisfied that it can and will perform satisfactorily in the future on data and in market conditions it has never dealt with before. You may be horrified to see just how quickly your brand-new system falls apart before your eyes as the market tries to tear it apart, moment by moment, tick by tick, trade after trade. Then again, a well-designed system may perform nearly as well in walkforward mode as it does in backtest mode, and that is what you need to see if you hope to use it in the real world, with real money. Don't even think of skipping this step, as it can prove to be very costly to learn that a system just wasn't up to the job, especially because you failed to perform adequate out-of-sample, walkforward analysis on it.

Take the time and fully test every system, no matter how long it takes, before deciding to go live with it (or to further refine it or even scrap it). It's worth the wait, no matter what the outcome is.


FIGURE 2: EMINI RUSSELL 2000. A key priority for every system developer is to create a strategy that produce as straight an equity curve line as possible. This one is generated from six months of hypothetical backtested trading activity in an intraday stock index futures system. The next step is to test the system in walkforward, out-of-sample mode to see if the strategy still has real-world merit.
Graphic provided by: TradeStation.
 
While this little article can't even begin to teach you all you'll need to learn to develop, test, optimize, and actually trade a winning system, at least it can give you a rough guide as to what to focus on as you create your own systems. If, however, I had to reduce the process to a one-sentence summary of the one single most important goal, it would be this:

"Choose the system that, even in raw, unoptimized form, offers you the straightest, highest angle of attack equity line possible, making sure that the overall profit to maximum drawdown ratio is as large as possible; preferably at least a ratio of 7 to one, if not higher."

If you can manage to construct a raw system that offers both of those essential qualities, then you're definitely going in the right direction.

Now you just need to prepare yourself for many more hours of optimization, formatting, head-scratching, table-pounding, error-hunting, and endless fine-tuning, hoping to keep most of your sanity intact during the process. Once you're trading it with real money (or have real live subscribers trading it with their own money), you'll also need to be prepared for the unexpected -- unexpectedly poor fills, wireless connectivity issues, price gaps, missed trades because of some unknown factor, changing market dynamics (a major cause for trading systems going kaput), and on and on. These things don't happen very often, but they can and do make guest appearances at the most inopportune times. You need to be able to deal with situations like this, and in a rational, calm, and focused manner.

Overall, developing your own system is a worthwhile endeavor, but you've got to be willing to put in the time, testing your ideas until you finally discover the 98% of trading ideas that just won't cut it in the real world. It's the 2% of ideas that really shine that make it all worthwhile.



Donald W. Pendergast, Jr.

Donald W. Pendergast is a financial markets consultant who offers specialized services to stock brokers and high net worth individuals who seek a better bottom line for their portfolios.

Title: Writer, market consultant
Company: Linear Trading Systems LLC
Jacksonville, FL 32217
Phone # for sales: 904-239-9564
E-mail address: lineartradingsys@gmail.com

Traders' Resource Links
Linear Trading Systems LLC has not added any product or service information to TRADERS' RESOURCE.

Click here for more information about our publications!


Comments or Questions? Article Usefulness
5 (most useful)
4
3
2
1 (least useful)

Comments

Date: 02/01/11Rank: 3Comment: 
Date: 02/01/11Rank: 5Comment: 
PRINT THIS ARTICLE






S&C Subscription/Renewal




Request Information From Our Sponsors 

DEPARTMENTS: Advertising | Editorial | Circulation | Contact Us | BY PHONE: (206) 938-0570

PTSK — The Professional Traders' Starter Kit
Home — S&C Magazine | Working Money Magazine | Traders.com Advantage | Online Store | Traders’ Resource
Add a Product to Traders’ Resource | Message Boards | Subscribe/Renew | Free Trial Issue | Article Code | Search

Copyright © 1982–2024 Technical Analysis, Inc. All rights reserved. Read our disclaimer & privacy statement.