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

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

Related Articles
  1. Trading

    Using Technical Indicators To Develop Trading Strategies

    Unfortunately, there is no perfect investment strategy that will guarantee success, but you can find the indicators and strategies that will work best for your position.
  2. 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.
  3. Trading

    A Primer On The MACD

    Learn to trade in the direction of short-term momentum.
  4. Financial Advisor

    Trading With Support And Resistance

    Learn more about these two technical analysis levels and how traders use them as signals to buy or sell a security.
  5. Trading

    Using Trading Indicators Effectively

    Select multiple indicators, avoid information overload and optimize indicators to effectively use technical analysis tools.
  6. Trading

    Catching A Falling Knife: Picking Intraday Turning Points

    Trying to pick the absolute top and bottom points can lead to excessive losses. This strategy allows you to hedge your risk.
  7. 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.
  8. Trading

    No Forex Strategy Of Your Own? Try Mirror Trading

    There are many advantages to trading a mirror strategy, yet markets are dynamic, and regardless there is always a risk of losses.
  9. Trading

    The Four Most Common Indicators in Trend Trading

    Here are the top indicators and tools trend traders use to establish when trends exist and find entry/exit points.
  10. Trading

    Forex Automation Software For Hands-Free Trading

    Automated forex trading software scans the market for favorable trades based on your input. Find out more about this valuable forex tool.
Frequently Asked Questions
  1. Depreciation Can Shield Taxes, Bolster Cash Flow

    Depreciation can be used as a tax-deductible expense to reduce tax costs, bolstering cash flow
  2. What schools did Warren Buffett attend on his way to getting his science and economics degrees?

    Learn how Warren Buffett became so successful through his attendance at multiple prestigious schools and his real-world experiences.
  3. How many attempts at each CFA exam is a candidate permitted?

    The CFA Institute allows an individual an unlimited amount of attempts at each examination.Although you can attempt the examination ...
  4. What's the average salary of a market research analyst?

    Learn about average stock market analyst salaries in the U.S. and different factors that affect salaries and overall levels ...
Trading Center