Optimization

DEFINITION of 'Optimization'

In the context of technical analysis, optimization is the process of adjusting a trading system in an attempt to make it more effective. These adjustments include changing the number of periods used in moving averages, changing the number of indicators used, or simply taking away what doesn't work.

For example, if an investor has a simple trading system that is just composed of a crossover of closing price and a moving average, by changing the periods of the moving average, the trader will get different profits, risk, capital drawdowns, etc. Thus, optimization helps you to choose the optimal parameters to trade.

BREAKING DOWN 'Optimization'

Once a trading system is developed, the next step before implementation is back-testing and optimization. Finding the best possible combination of settings for the parameters of the trading system is vital to the profit generating success of a trading system. There are many pitfalls and traps that traders sometimes inadvertently overlook. Over-optimization and having too large or to small a sample data period are just a couple of the subtle mistakes that lead to trading systems failing.

Over-optimization

A trading system is used to define a set of rules that determines the entry and exit of a trade that yields consistent profits. With each rule that is applied within a system, the number of signals is diminished in order to satisfy the collective criteria set forth by the totality of the rules. Applying too many rules to achieve back-test results that show higher profits may result in what is referred to as curve-fitting. This is when the results of a back-test in one time-period shows profitability, but collapses when the same system and settings are applied to a different time-period. For example, imagine a trading system that uses a daily chart over the past year, and selects the month and day on which a major reversal took place, to indicate a signal in the direction of the reversal that yields a profitable trade. The rules of this hypothetical (yet impractical) system would be the list of month-and-day dates (with no year) that would result in the highest net profit for that year. The optimization would tend towards the precise timing of every reversal and result in the perfect (curve) fit. However, when the system is applied to a different year, or the future, it will very likely fail.

Sample Data Period

The data period duration on which the back-testing is performed to optimize the settings of a trading system varies depending on the system. Some systems generate multiple trade signals per day, and some generate one signal per month or less. In either case, the back-test should, at minimum, include a number of trade signals that will present results that are statistically significant. That being said, care should be taken to ensure that the sample period covers all general market conditions including up trends, downtrends, and range trading. This will help prevent optimization results that work in only one type of market condition.

RELATED TERMS
  1. Financial System

    A financial system can be defined at the global, regional or ...
  2. Backtesting

    The process of testing a trading strategy on prior time periods. ...
  3. Forex Signal System

    A set of analyses that a forex trader uses to determine whether ...
  4. Mechanical Investing

    Buying and selling stocks according to a screen based on predetermined ...
  5. SEC Form ATS

    A form that is filed with the SEC as an initial operation report ...
  6. Macroprudential Analysis

    A method of economic analysis that evaluates the health, soundness ...
Related Articles
  1. Investing

    Trading Systems: Constructing A System

    So far, we have discussed the basic components of trading systems, the criteria they have to meet, and some of the many empirical decisions that a system designer must make. In this section, ...
  2. Financial Advisor

    A Day In The Life Of A System Trader

    Systems traders divide their time between trading, developing, backtesting, optimizing and forward testing, to create viable and high-probability trading systems.
  3. Trading

    Backtesting: Interpreting The Past

    We offer some tips on this process that can help refine your current trading strategies.
  4. Investing

    Trading Systems: Run With The Herd Or Be A Lone Wolf?

    Find out if taking the path less traveled will work in your favor - or against it.
  5. Investing

    Trading Systems: Designing Your System - Part 2

    The preceding section on designing a trading system examines the different types of markets in which to trade, and takes a look at the two basic genres of trading systems: trend-following and ...
  6. Trading

    The Pros And Cons Of Automated Trading Systems

    Automated trading systems minimize emotions, allow for faster order entry, lead to greater consistency and resolve pilot-error problems.
  7. Trading

    Backtesting And Forward Testing: The Importance Of Correlation

    Correlations between backtesting and forward performance testing results can help you optimize your trading system.
  8. ETFs & Mutual Funds

    Trade Forex With A Directional Strategy

    Opening long or short positions to cash in on a trend is one of the simplest ways to trade forex.
  9. Trading

    Beginner Trading Fundamentals: Strategy Automation

    Strategy automation can made the difference between a winning and losing trade; however, there are both positives and negatives to using an automated trading system.
  10. Trading

    Trading Systems Coding: Conclusion

    By Justin Kuepper Contact Justin After going through this step-by-step tutorial, you should have a fully operational and fully automatic trading system. As you continue working with your system, ...
RELATED FAQS
  1. How do I implement a Forex Signal System into a forex trading strategy?

    Learn how traders use different types of forex signal systems such as trend-based or range-based to create or supplement ... Read Answer >>
  2. What is the difference between a capitalist system and a free market system?

    Learn about capitalist and free market systems, how these economic systems function and the main difference between capitalism ... Read Answer >>
  3. How do I pick the best method for forex system trading?

    Discover how to identify the best type of forex system trading style for you based on your available time, your trading preferences ... Read Answer >>
  4. What is the difference between systemic risk and systematic risk?

    Systemic risk is generally used in reference to an event that can trigger a collapse in a certain industry or economy, whereas ... Read Answer >>
  5. When and why are technical indicators useful?

    Discover what technical indicators are, when they are useful and how their specific design limits their meaningfulness to ... Read Answer >>
  6. How do traders and technical analysts interpret the Average True Ranges (ATR)?

    Learn about average true range, a volatility indicator used by technical analysts to pinpoint changing trends and bullish ... Read Answer >>
Hot Definitions
  1. Diversification

    A risk management technique that mixes a wide variety of investments within a portfolio. The rationale behind this technique ...
  2. European Union - EU

    A group of European countries that participates in the world economy as one economic unit and operates under one official ...
  3. Sell-Off

    The rapid selling of securities, such as stocks, bonds and commodities. The increase in supply leads to a decline in the ...
  4. Brazil, Russia, India And China - BRIC

    An acronym for the economies of Brazil, Russia, India and China combined. It has been speculated that by 2050 these four ...
  5. Brexit

    The Brexit, an abbreviation of "British exit" that mirrors the term Grexit, refers to the possibility of Britain's withdrawal ...
  6. Underweight

    1. A situation where a portfolio does not hold a sufficient amount of a particular security when compared to the security's ...
Trading Center