Learn MQL5: Build an 8-Currency Hedging Robot (MetaTrader 5)

Learn MT5 Trading Robots (MQL5): Build Robots for Stocks, Futures and Multi-Currency Trading
4.6 (19 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,903 students enrolled
Instructed by Lucas Liew Business / Finance
$19
$150
87% off
Take This Course
  • Lectures 55
  • Length 3 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 4/2016 English

Course Description

From the Creator of the Most Popular Algorithmic Trading Course on Udemy with over 14,000 students!

****

Course launched on 1st November 2016!

This course is the first of a 4-part mega course. Scroll down to see the full list of Chapters.

Price will increase as more lectures are added.

The author of this course is one the most viewed writers in Algorithmic Trading on Quora and has been featured on Investopedia.

****

Huh? What is a Trading Robot?

A Trading Robot is a set of programming code that analyses and trades the market on its own. Trading Robots allow you to trade the markets without human intervention!

What is MetaTrader 5 (MT5) and MQL5?

MetaTrader 5 is a software that allows us to build trading robots. It is the successor to MetaTrader 4. MQL5 is the programming language we use in MT5. When MT5 was initially released in 2010, it was not very popular. However, recent updates to MT5 (changes to the hedging issue) has increased its popularity among traders and brokers.

MT5 may be the future, so let’s master this stuff now!

Some highlights of MT5 (aka benefits over MT4):

  • Trade Stocks and Futures
  • Multi-Currency/Product Backtesting (this opens up a wide range of strategy options!)
  • Insanely Fast Optimisation times (1000X faster than MT4!)
  • Backtesting on REAL tick data
  • Automatic Walk-Forward Optimiser
  • The MQL5 language is harder to pick up compared to MQL4. But once you get it, you can easily pick up other object-oriented languages like C++ and JAVA
  • In the unlikely scenario where MetaQuotes discontinues MT4, we are screwed. Thus, it is good to have a backup plan (aka learn MT5)


What does this course offer?

This course teaches the knowledge required to effectively build trading robots using MT5 and MQL5. 

You will be able to build advanced strategies that span across multiple financial products (Stocks, Futures, Forex and CFDs), shorten optimisation times from hours to minutes and increase your backtest accuracy by testing on real ticks. 

So yea, these are massive improvements over MetaTrader 4! (It’s kind of a big deal)

We do NOT promise that you will strike it rich overnight. We do not make ridiculous claims (like those you see in newspapers and online ads) that you will make $3722 every night.

This course WILL, however, offer you the years of experience we have in building Robots. You will understand the pitfalls and keys to success to design great robots. You will avoid the hundreds of mistakes we made in our journey.

What is an 8-Currency Hedging Trading Robot?

MetaTrader 5 allows us to backtest and execute advanced strategies that span across multiple financial products (this is not possible with MT4), so we’ll utilise that to build advanced multi-asset strategies. 

We will build an 8-Currency hedging trading robot. This trading robot analyses the 8 major currencies (USD, EUR, JPY, GBP, AUD, CAD, CHF and NZD) and exploits inefficiencies when any of them goes out of whack. This trading robot will serve as a good template for you to experiment and build your own strategies. 


Full Syllabus (These are Chapters not Lectures!)

<Course 1: Learn MQL5: Build an 8-Currency Hedging Robot (MetaTrader 5)>

  • Here's What You Are In For!
  • Programming Fundamentals 1: Variables and Conditionals
  • Robot 1: Anna - Our First Robot!
  • Getting Market Information - Troublesome but Essential Stuff
  • Understanding the Strategy Tester (Part 1)
  • Programming Fundamentals 2: Loops + Importing Code
  • What’s the deal with OOP - Mastering Object-oriented Programming (Part 1)
  • Robot 2: Bella - Utilising Volatility!
  • Pseudo Data Management in MT5
  • Understanding Our Optimiser (Part 1)
  • Programming Fundamentals 3: Arrays and Indicators
  • Building Indicators 1: Simple Indicators and Multi-buffers
  • Bonus Robot: Zelda - 8 Currency Arbitrage Robot


<Course 2: Learn MQL5: Master OOP + Time Manipulation>

  • Programming Fundamentals 4: Self-Learning and Functions
  • What a Mess! - Order Management (Part 1)
  • Robot 3: Charlotte - Different Order Types
  • Understanding the Strategy Tester (Part 2)
  • Robot 3A: Charlotte 2.0 - Different ways to Code Orders
  • MQL5 Coding Nuances - Get to know the small things
  • Robot 4: Diana - Turtles
  • Programming Fundamentals 5: Manipulate Date and Events
  • MT5 In-built EA Generator
  • Robot 5: Emma - A Robot based on Time
  • Understanding the Optimiser (Part 2) - Multi-threaded and Walk Forward
  • Robot 6: Francoise - Net Positions, No Hedging
  • Building Indicators 2: Momentum
  • What’s the deal with OOP - Mastering Object-oriented Programming (Part 2)


<Course 3: Learn MQL5: Semi-Algo Robots and Trading on News>

  • Uses and Types of Scripts
  • Robot 7: Genevieve - Semi-Algo Robot
  • Overview of Different Algo Trading Strategies
  • Robot 8: Haley - Mean Reversion
  • Building Indicators 2: Oscillators
  • Robot 9: Iris - Breakout
  • Building Indicators 3: Volume
  • Robot 10: Judy - Strategy based on Volume
  • Programming Fundamentals 6: Understanding Libraries
  • Math Analysis
  • Building Indicators 4: Multi-asset (Correlations aka Proxy Trading)
  • Programming Fundamentals 7: Clean code + Graphical Objects
  • Trading on News and External Events
  • Robot 11: Kate - News Trading


<Course 4: Learn MQL5: Multi-Asset Arbitrage - Futures and Stocks>

  • Robot 12: Lena - Single Proxy Trading
  • Robot 12A: Lena 2.0 - Proxy Asset + Proxy News Trading
  • Modifying Robots for Live trading
  • Robot 13: Naomi - Multiple Proxy Trading
  • Robot 14: Olivia - Multi-asset (3 Currency Arbitrage Trading)
  • Futures Trading with MQL5
  • Robot 15: Phoebe - Futures Robot
  • Stock Trading with MQL5
  • Robot 16: Quinn - Stock robot
  • Robot 17: Rachel - Futures Pair Trading
  • Robot 18: Samantha - Multi-asset Arbitrage (4 Futures Hedging Strategy)
  • Robot 19: Tiffany - Statistical Arbitrage (7 Stocks Arbitrage Strategy)


Frequently Asked Questions

// I'm a complete beginner. Is this course suitable for me?

Yes, this course is designed for beginners. The course is prepared in a progressive manner. It entails a graphical, step-by-step approach with minimal technical jargons.  But of course, you will need to put in more effort than someone with a stronger background to master the content.

// I can't code! Is this course suitable for me?

Yes, this course is designed for those who are new to programming. We have a 24/7 support channel to assist you with coding issues!

// I can code! Is this course suitable for me?

If you are an expert at MQL5. Congratulations! You don't need this course. For everyone else, welcome aboard.

// What if I am unhappy with the course?

We would never want you to be unhappy! If you are unsatisfied with your purchase, contact Udemy within the first 30 days and they will issue you a full refund. No questions asked.

// How long do I have access to the course?

How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.

// Are we expecting more content in this course?

Yes! We are adding 10 more sections worth of content to this course. Content will be added weekly.

// Do you teach conceptual theories on Algorithmic Trading?

Yes we do, but not in this course. Check out our other courses for that.

About the Course

  • Free: All software and data used are free! All robot testing and trading done in this course are done using virtual money!
  • Unconditional 30 days money-back guarantee – You have absolutely nothing to lose
  • Full lifetime access!
  • Access to all future lectures. Over 9 sections (50 lectures) to be added in the coming months. (Note that Course Price will rise as more sections are added)
  • 24/7 access to Luke Code Support (LCS). LCS is an email conduit where you can ask for help for any programming issues.

What are the requirements?

  • Computer, internet connection (Either Windows, Mac or Linux but Windows preferred)

What am I going to get from this course?

  • Design, test and trade complex strategies involving multiple products
  • Master a powerful up and coming software for Algorithmic Trading
  • Code a Trading Robot in less than 1 hour
  • Code in MQL5 and easily pick up C++ and JAVA
  • Backtest their strategies more accurately by using real tick data
  • Free up plenty of time by automating trading
  • Be a freelance coder (go do a few freelance jobs and earn back the cost of this course!)

What is the target audience?

  • Those entering the workforce soon and want to explore their options
  • Those wanting to endeavour into trading as a side-job
  • Those wanting a guide who is on stand-by to assist them
  • Those who know MQL4 and want to learn MQL5
  • Those who want to algorithmically trade futures and stocks
  • Those who want to master MetaTrader 5
  • Those who want to learn MT5 in case MetaQuotes discontinues MT4
  • Who should not take this course: Those wanting to learn about High Frequency Trading. This course focuses on Low Frequency Trading
  • Who should NOT take this course: Those wanting a secret recipe to strike it rich overnight

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Here's What You Are In For!
Intro - What are Trading Robots? (And why should I build them?)
Preview
10:50
The First Step - How To Start Your Journey?
Article
Downloading Our Software (MT4)
Preview
04:48
MT5 for Mac
Article
Introduction to MT4
Preview
07:32
MT5 Basic Guide
Article
Download Code Template
Article
Structure of a Trading Robot (Part 1)
Preview
04:11
Structure of a Trading Robot (Part 2)
Preview
08:03
Structure of a Trading Robot (Part 3)
Preview
06:03
MT5 vs MT4 vs Other Software (and Why FX)
Article
Black Algo Trading Design Theory | Our Holy Grail
Article
Luke Code Support + Thanks
Article
Section 2: Programming Fundamentals 1: Variables And Conditions
The 3 Types of Code
Article
Syntax - The ABCs of Coding
Preview
12:25
Download Code for Programming Fundamentals 1
Article
Identifiers - Names of Stuff
03:33
Reserved Words - Words you cannot use
Article
Variables - The Basic Building Blocks!
06:09
Practice Time: Syntax and Variables
03:22
Expressions and Operations (Plus, Minus, Multiplication and Division)
10:26
Practice Time: Variables, Operations and Expressions
02:56
More info on Datatypes, Operations and Precedence
Article
Get Coding Help – Read the Docs + Errors vs Warnings!
Article
Conditional - If this then that (Part 1)
05:07
Conditional - If this then that (Part 2)
05:23
Practice Time: Conditional - If this then that
03:12
Section 3: Robot 1: Anna - Our First Robot!
Background to our Asset Class
Article
Chart Reading 101 + Your First Indicator
Article
Download Codes for Anna
Article
Anna 1.00 - Theory behind Anna
03:32
Understanding Shift
Article
Anna 1.00 - Understanding the Cross
03:44
Anna 1.00 - Coding Anna (Part 1)
Preview
08:34
Anna 1.00 - Coding Anna (Part 2)
06:49
Anna 1.00 - Coding Anna (Part 3)
06:53
Section 4: Getting Market Information - Troublesome but Essential Stuff
Download Codes for Section
Article
Getting Bid and Ask Prices
04:46
Anna 1.01 - Using OHLC Prices
Preview
06:57
Getting Open, High, Low and Close Prices
Preview
06:39
Getting Indicator Data
09:13
Exercise on Referencing OHLC Prices
Article
MQL5 vs MQL4: Differences when Referencing Prices and Indicators
Article
Section 5: Understanding Our Strategy Tester (Part 1)
Our Strategy Tester - Where the Magic Happens
10:58
Understanding our Tester Visualization Platform
03:18
Helpful Links for Understanding our Strategy Tester
Article
Section 6: Programming Fundamentals 2: Loops + Importing Code (Coming soon...)
Loops - Doing something many times (Part 1 - While)
08:11
Loops - Doing something many times (Part 2 - For)
04:45
Section 7: Programming Fundamentals 3: The Confusing Object (OOP) (Coming soon...)
Coming soon..
Article
Section 8: Robot 2: Bella - Utilising Volatility! (Coming soon...)
Coming soon...
Article
Section 9: Pseudo Data Management in MT5 (Coming soon...)
Coming soon....
Article
Section 10: Understanding Our Optimiser (Basic) (Coming soon...)
Coming soon.....
Article
Section 11: Programming Fundamentals 4: Arrays and Indicators (Coming soon...)
Coming soon......
Article
Section 12: Building Indicators 1: Momentum and Multi-Buffer (Coming soon)
Coming soon.......
Article
Section 13: Bonus Robot 1: Zelda - 7 Currency Arbitrage Robot (Coming soon...)
Coming soon.......
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Lucas Liew, Developer and Trader

Lucas has been designing and building algorithmic trading robots since 2010. He worked at a proprietary trading firm and teaches programming for financial applications to Government of Singapore Investment Corporation (GIC), one of the largest sovereign wealth funds in the world.

Lucas does consulting for algorithmic trading projects. He has over 3 years of experience coaching in MQL4, MATLAB and VBA. He was the Head of the Quantitative Finance Society in Singapore Management University.

Lucas has been featured on Investopedia and is one of the most viewed writers in Algorithmic Trading on Quora.

Ready to start learning?
Take This Course