Automated Trading With MultiCharts: Automated Trading with MultiCharts
  1. Automated Trading With MultiCharts: Introduction
  2. Automated Trading With MultiCharts: Automated Trading
  3. Automated Trading With MultiCharts: Automated Trading with MultiCharts
  4. Automated Trading With MultiCharts: Conclusion

Automated Trading With MultiCharts: Automated Trading with MultiCharts

MultiCharts supports automated trading (see Figure 1), including backtesting on historical data, strategy optimization and walk-forward testing. MultiCharts comes with more than 100 preprogrammed studies based on many popular trading concepts. Traders can access the code to modify any study to match their exact needs. In addition, traders can either write their own code in the PowerLanguage environment, or work with a qualified programmer to develop custom indicators and strategies.

An example of an automated strategy in MultiCharts.
Figure 1: An example of an automated strategy in MultiCharts.


Preprogrammed Studies
In MultiCharts, a signal is considered a mechanical technical analysis tool that is used to specify market entry and exit points according to a set of trading rules. Signals are the basic building blocks of strategies, and more than 100 pre-built, customizable signals are included with the MultiCharts platform. A strategy can be constructed by applying a set of these signals to a chart without having to write any code. The signals can be used to send orders directly to a broker, thereby automating the trading process. To access the pre-built signals, from the main menu, click Insert > Study and select the "Signals" tab, as shown in Figure 2. To select a signal, highlight the appropriate signal and click "OK." To select multiple signals, hold the Ctrl button on the keyboard and click to select the appropriate signals, and then click "OK" to apply the signals to the chart.

\'From Study and select the "Signals" tab to view a list of pre-built signals.\' src="http://i.investopedia.com/inv/articles/site/Automated_Trading_With_Multicharts_Figure_2.gif" width=475 height=555 src_cetemp="http://i.investopedia.com/inv/articles/site/Automated_Trading_With_Multicharts_Figure_2.gif">
Figure 2: From the main menu, click Insert > Study and select the "Signals" tab to view a list of pre-built signals. Image created with MultiCharts.

Figure 3 shows a daily chart of MHP with two signals applied: the MovAvg Cross LE and MovAvg Cross LX. The blue arrows indicate trade entries, and the green dotted lines show the outcome of the trade.

A simple strategy based on a moving average crossover created by applying two signals to a chart.
Figure 3: A simple strategy based on a moving average crossover created by applying two signals to a chart.


Traders can customize signals by right-clicking on the active chart and selecting "Format Signals…" This opens the Format Objects window. Select the "Signals" tab, highlight the appropriate signal, and click "Format." This opens the signal-specific formatting window, shown in Figure 4 where traders can customize input variables, properties, and the appearance of trade entries, exits and the connecting lines (which connect each trade's entry and exit points on the chart).

The signal-specific formatting window is used to define input variables, how the trade entries and exits appear on the chart, and other properties.
Figure 4: The signal-specific formatting window is used to define input variables, how the trade entries and exits appear on the chart, and other properties.


PowerLanguage Environment
The PowerLanguage programming environment, called the PowerLanguage Editor, is a development tool for creating and managing PowerLanguage studies. The PowerLanguage Editor is used to perform a variety of functions, including:

  • Creating studies

  • Importing and exporting studies

  • Protecting studies (saving as closed-source, for example)

  • Editing the study code and settings

  • Editing data

  • Compiling (or verifying) studies
There are several ways to open the PowerLanguage Editor:

  • Click the Run PowerLanguage Editor icon on the MultiCharts Main toolbar (see Figure 5); or

\'From
Figure 5: From the Main Toolbar, click the "New PowerLanguage Editor" icon to open the programming environment.


  • Click the PowerLanguage Editor icon on the Quick Launch bar; or

  • Click the PowerLanguage Editor icon on the desktop.

The PowerLanguage Editor opens. Figure 6 shows the PowerLanguage Editor with the two signals that we had applied earlier to a chart.

Code from the MovAvg Cross LE and MovAvg Cross LX signals in the PowerLanguage Editor.
Figure 6: Code from the MovAvg Cross LE and MovAvg Cross LX signals in the PowerLanguage Editor.


To create a new study, in the main menu click File > New. This opens the New window, shown in Figure 7, where users can select a new Function, Indicator or Signal.

From the main menu, click File> New to create a new function, indicator or signal.
Figure 7: From the main menu, click File > New to create a new function, indicator or signal.


Becoming proficient in any programming language takes considerable time and effort. Writing code - whether for functions, indicators or signals - in MultiCharts is no exception. Specific details and help for programming in the PowerLanguage environment can be found in the MultiCharts User Guide by clicking Help > MultiCharts Help in the main menu, and by visiting the MultiCharts forum by clicking Help > Discussion Forum. Additional information can be found through the MultiCharts MCWiki. To access the Web portal on the MultiCharts home page mouse over "Support" in the top menu and click "Online Help and Wiki."

Add-Ons
Some traders may have specific ideas for automated strategies but are unable to customize the pre-built signals to suit their needs and do not have the expertise or desire to learn the required programming skills to write their own code. There are numerous add-ons from third-party vendors that offer commercial indicators and strategies, as well as custom programming services to help traders develop automated trading systems. A partial list of these third-party vendors is available on the MultiCharts Web site; from the home page mouse over "MultiCharts" in the top menu and click "Add-ons" from the drop-down menu. Automated Trading With MultiCharts: Conclusion

  1. Automated Trading With MultiCharts: Introduction
  2. Automated Trading With MultiCharts: Automated Trading
  3. Automated Trading With MultiCharts: Automated Trading with MultiCharts
  4. Automated Trading With MultiCharts: Conclusion
RELATED TERMS
  1. Signal Line

    A moving average plotted alongside a technical indicator and ...
  2. Forex Signal System

    A set of analyses that a forex trader uses to determine whether ...
  3. Automated Forex Trading

    A method of trading foreign currencies with a computer program ...
  4. Dividend Signaling

    A theory that suggests company announcements of an increase in ...
  5. Confirmation

    The use of an additional indicator or indicators to substantiate ...
  6. Trade Signal

    A sign, usually based on technical indicators, that it is a good ...
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. How are moving averages used in trading?

    Moving averages are very popular tools used by technical traders to measure momentum. The main purpose of these averages ... Read Answer >>
  3. What technical indicators can be used to confirm the tendency of a stock?

    Find out what signal confirmation is and some common strategies used to confirm trading signals concerning the tendency of ... Read Answer >>
  4. How can I use simple moving averages to signal when to buy or sell stocks?

    Learn about simple moving averages, simple moving average strategies and how to use these strategies to signal buy and sell ... Read Answer >>
  5. How do I use Stochastic Oscillator to create a forex trading strategy?

    Learn about the stochastic oscillator and how to it is used to create an effective forex trade strategy, including how to ... Read Answer >>
  6. What does a falling open interest on a stock signal?

    Learn what falling open interest on a stock signals. Open interest is like volume for options. It is considered a leading ... Read Answer >>
Hot Definitions
  1. Goldilocks Economy

    An economy that is not so hot that it causes inflation, and not so cold that it causes a recession. This term is used to ...
  2. White Squire

    Very similar to a "white knight", but instead of purchasing a majority interest, the squire purchases a lesser interest in ...
  3. MACD Technical Indicator

    Moving Average Convergence Divergence (or MACD) is a trend-following momentum indicator that shows the relationship between ...
  4. Over-The-Counter - OTC

    Over-The-Counter (or OTC) is a security traded in some context other than on a formal exchange such as the NYSE, TSX, AMEX, ...
  5. Quarter - Q1, Q2, Q3, Q4

    A three-month period on a financial calendar that acts as a basis for the reporting of earnings and the paying of dividends.
  6. Weighted Average Cost Of Capital - WACC

    Weighted average cost of capital (WACC) is a calculation of a firm's cost of capital in which each category of capital is ...
Trading Center