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.


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.

  1. Backtesting

    The process of testing a trading strategy on prior time periods. ...
  2. Forex System Trading

    A method of trading forex that is based on a series of analyses ...
  3. Currency Day Trading System

    A set of analyses that the forex day trader uses to determine ...
  4. Alternative Trading System - ATS

    A trading system that is not regulated as an exchange, but is ...
  5. Forex Signal System

    A set of analyses that a forex trader uses to determine whether ...
  6. Financial System

    A financial system can be defined at the global, regional or ...
Related Articles
  1. Personal Finance

    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.
  2. Trading

    Backtesting: Interpreting The Past

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

    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.
  4. 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.
  5. Investing

    Interpreting A Strategy Performance Report

    These key performance metrics will help you decide if your trading strategy is a winner.
  6. Trading

    Backtesting And Forward Testing: The Importance Of Correlation

    Correlations between backtesting and forward performance testing results can help you optimize your trading system.
  7. Trading

    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.
  8. Insights

    Inside National Payment Systems

    Investopedia explains: The global interconnection of U.S. payment systems makes commerical and financial transfers possible.
  9. Trading

    Trading Systems Coding

    Automate your trades by translating your strategy into a language your computer can implement in this hands-free approach to investing.
  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. 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 >>
  3. 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 >>
  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. What are the most important aspects of a capitalist system?

    Understand the main aspects of a capitalist system and how they contrast with the tenets of other types of economic systems, ... Read Answer >>
Hot Definitions
  1. Cover Letter

    A written document submitted with a job application explaining the applicant's credentials and interest in the open position. ...
  2. 403(b) Plan

    A retirement plan for certain employees of public schools, tax-exempt organizations and certain ministers. Generally, retirement ...
  3. Master Of Business Administration - MBA

    A graduate degree achieved at a university or college that provides theoretical and practical training to help graduates ...
  4. Liquidity Event

    An event that allows initial investors in a company to cash out some or all of their ownership shares and is considered an ...
  5. Job Market

    A market in which employers search for employees and employees search for jobs. The job market is not a physical place as ...
  6. Yuppie

    Yuppie is a slang term denoting the market segment of young urban professionals. A yuppie is often characterized by youth, ...
Trading Center