Advanced Guide To MetaTrader 4 - Automated Trading
  1. Advanced Guide To MetaTrader 4 - Introduction
  2. Advanced Guide To MetaTrader 4 - Automated Trading
  3. Advanced Guide To MetaTrader 4 - Expert Advisors
  4. Advanced Guide To MetaTrader 4 - Custom Indicators
  5. Advanced Guide To MetaTrader 4 - Scripts
  6. Advanced Guide To MetaTrader 4 - Strategy Testing And Optimization

Advanced Guide To MetaTrader 4 - Automated Trading

The MT4 platform supports automated trading, or system trading. Automated trading involves developing an objective set of rules for trade entries and exits, and programming the rules in the platform's proprietary language (MQL4 in this case) so that the platform can handle all of the associated analytical and trading processes. Perhaps the biggest advantage of automated trading is the ability to remove some of the emotion from trading. Since these systems can trade completely mechanically based on the predetermined rules of a trading plan, dealing with losses or second-guessing a trade entry will not affect system performance. Another significant advantage to trade automation is that the trades are automatically executed with extremely fast reaction times.

An automated trading system must clearly identify buy, sell, stop-loss and profit-target rules. In other words, the system must identify the conditions under which a trade will be initiated (whether a long or a short trade), when the trade should be closed at a loss, and when the trade should be closed at a profit.

The various benefits of automated trading make it a helpful tool for traders, but it is important to remember that certain aspects of automation can fail. For example, if the connection to the Internet or data server is lost, the trader must recognize the error and manually fix the problem. If left unnoticed, a position could unintentionally be left naked in the market (without stop-loss or take profit orders).

SEE:
The Pros And Cons Of Automated Trading Systems

MetaEditor
MetaEditor is MT4's interface used for creating, editing and compiling program source codes written in MetaQuotes Language 4 (MQL4), MT4's proprietary programming language. An Expert Advisors Wizard is a built-in feature of the MetaEditor that assists in the creation of new MQL4 programs. Once a program has been written, it must be compiled in MetaEditor. After successful compiling, the executable program code can be launched and/or tested in the MT4 Terminal. Traders can create several distinct programs using the MetaEditor:

  • Expert Advisors - programs in the terminal that have been developed in MQL4 and used for the automation of analytical and trading processes. Some platforms refer to these as strategies.
  • Custom Indicators - programs developed in MQL4 by the user to function as a technical indicator. Custom indicators are intended for analyzing price activity but not for trading itself.
  • Scripts - programs written in MQL4 and intended to perform a single execution of some action. A script can fulfill both analytical and trading functions. Once a script has completed its function once, it automatically stops.
Advanced Guide To MetaTrader 4 - Expert Advisors

  1. Advanced Guide To MetaTrader 4 - Introduction
  2. Advanced Guide To MetaTrader 4 - Automated Trading
  3. Advanced Guide To MetaTrader 4 - Expert Advisors
  4. Advanced Guide To MetaTrader 4 - Custom Indicators
  5. Advanced Guide To MetaTrader 4 - Scripts
  6. Advanced Guide To MetaTrader 4 - Strategy Testing And Optimization
RELATED TERMS
  1. Automatic Execution

    A method of executing trades without inputting them manually. ...
  2. Forex Signal System

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

    A set of analyses that a forex day trader uses to determine whether ...
  4. Trading Platform

    Software through which investors and traders can open, close ...
  5. Hybrid Market

    A securities exchange that facilitates trading through a blend ...
  6. Arbitrage Trading Program - ATP

    A computer program used to place simultaneous orders for stock ...
RELATED FAQS
  1. How do quant traders build the relative strength index (RSI) into their algorithms?

    Learn how quantitative traders build the relative strength index (RSI) into their algorithms. Explore how automated trading ... 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 kind of training do I need for a career in business analytics?

    Learn all about the types of skills and training that can prepare you for a career in the fast-growing field of business ... Read Answer >>
  4. How do financial advisors execute trades?

    Understand how financial advisors normally execute an investor's trades. Learn about the different type of markets and exchanges ... Read Answer >>
  5. What impact has robotic production had on profitability in the automotive sector?

    Learn more about the efficiencies and improved profitability created in automotive companies by the use of robotic technologies. ... Read Answer >>
  6. How difficult is it to understand business analytics?

    Find out what it takes to understand the method of business analytics, and how to start a career through one of its many ... 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