Building robots using MetaTrader to exploit the simplicity of the world

Training & Consulting

Hands-on Training:  Automated Trading with MQL5

Course description:

This hands on MQL5 programming class will teach you the basics of automated trading using the MetaTrader 5 platform.  Students will learn the basics of programming MQL5 in order to be able to write and manipulate simple automated trading strategies (described below).    This course will help you get started in programming MQL5.   It is very difficult, if not impossible to teach someone to become a programmer after 1 week.   The goal of this class is to teach you the basics and to get you started with automating and manipulating strategies.   See the course outline below for more details.

Course Prerequisites:  No programming experience is required, but basic knowledge of Forex trading is necessary.

Cost: $1800

Dates:  Jan 3rd – Jan 7th, 2011 (1 week)

Location:  Scottsdale, Arizona

Course Outline:

Day 1

Meta Trader 5 Platform

  • Installing and Configuring
  • Features and differences between Meta Trader 4 and Meta Trader 5
  • Compile, run, and back test a prewritten strategy

Basics of MQL5 Programming

Variables

  • specifying the data type
  • there are over 15 different data types
  • the most common that you need to know include:    bool, char, int, long, double, datetime, color, string
  • Assignment, mathematical, logical, and conditional operators
  • use of and precedence of operators

Arrays

  • objects that are indexed
  • how to use

Making Decisions Control Structures

  • loop controls
  • boolean expressions
  • conditional expressions
  • Switch selection

Day 2

Introduction to Classes

  • Most powerful aspect of object oriented programming
  • Class is a description of an object
  • instantiating

Introduction to Methods

  • modifiers, return type, method name, paramaters or arguments, method body

Exception Handling

  • what to do when something unexpected happens
  • try/catch block

Day 3-5

How to program and test isolated exits – What exits perform the best on random entries

  • Percent of ATR exits
  • Parabolic SAR exits
  • Moving average exits
  • Moving average crossover exits
  • Lowest low & Highest high exits

Inter-market correlation – Using Pearson’s correlation coefficient to find inter-market correlations

Money management – The true key to success

  • How to program using money management strategies

The turtles complete trading strategy

Five rules to a successful strategy

  • Entries
  • Stops
  • Profit/Exits
  • Money Management
  • Having a plan and not diverging

Thinking outside the box (Optional)

  • Overview and ideas of building your own strategies

Note:  This course outline may be revised to meet the specific needs of the class.

Share