Forex Algorithmic Trading Code A Forex Robot

Build a Completely Automated Trading Robot (Expert Advisor) from scratch using MQL4 (MetaQuotes Language 4)!

Last updated 2022-01-10 | 4.7

- How to build a completely automated FOREX trading robot (Expert Advisor)
- How to program in the most popular language for FOREX (MQL4)
- Many Tips and Tricks so you can create amazing Trading Robots

What you'll learn

How to build a completely automated FOREX trading robot (Expert Advisor)
How to program in the most popular language for FOREX (MQL4)
Many Tips and Tricks so you can create amazing Trading Robots

* Requirements

* An Open Mind & Willingness to Learn


In this course you will learn how to completely automate a Forex Trading Robot from scratch using the MQL4 Programming language.

You do not need any programming knowledge as we will learn all the basic programming concepts in the beginning of the course. The great thing about this course is that we view these programming concepts as they relate to trading, keeping the content extremely engaging.

We proceed by learning the ins and out of the MQL4 programming language. We see how to get live price updates, use most technical indicators in code, send and modify orders automatically and much much more.

We do all of this in a highly engaging manner as we code everything as we cover it. We also give you many assignments along the way making this an extremely practical and interactive course.

Once we have covered all the concepts necessary, we proceed by creating our fully automated trading robot. We backtest it to make sure it’s consistently profitable and see how to run it on a demo or live account.

All the codes created in the course are available to you.

Who this course is for:

  • Anyone who would like to automate their Forex Trading (No programming knowledge required)
  • Anyone who would like to learn how to program in MQL4
  • Traders who want to improve their trading performance by fully automating a trading strategy

Course content

13 sections • 62 lectures

About Your Instructor Preview 02:42

What You Will Learn in This Course Preview 03:36

Why Automate Your Trading Preview 04:10

Important Changes to be aware of Preview 01:28

How to Ask Questions Preview 03:19

Expert Advisors Preview 11:27

MetaQuotes Language 4 (MQL4) Preview 04:36

EAs, Indicators and Scripts Preview 02:58

Printing Out Statements Preview 08:19

Variables Preview 12:52

Variables Advanced Preview 13:33

Predefined Variables Preview 07:07

Arithmetic Operations Preview 22:08

Assignment Operations Preview 05:36

Relational Operations Preview 14:32

Logical Operations Preview 13:49

Functions Preview 19:57

MetaTrader Functions Preview 09:38

Include Files Preview 08:10

Creating our First Useful Function Preview 10:27

Calculating Take Profit and Stop Loss Preview 17:50

Assignment: Create Take Profit and Stop Loss Calculator Function Preview 04:43

Answer to Assignment Preview 14:20

Global Variables Preview 06:36

Input & Extern Variables Preview 08:17

Enums Datatype Preview 11:28

Moving Average Preview 23:54

Bollinger Bands Preview 09:50

RSI Preview 08:17

Assignment: BB Indicator Preview 10:27

Assignment Answer Preview 14:45

Important Changes to be aware of Preview 00:27

Pre Order Sending Checks Preview 16:11

Checking Account Lot Size Preview 10:06

Sending Orders Preview 21:06

Assignment: Sending Orders Preview 02:27

Error Handling Preview 12:26

Answer to OrderSend Assignment Preview 08:17

Position Sizing Methods Preview 18:56

Creating Position Sizing Function Preview 43:06

Assignment: Add Position Sizing in Algo Preview 01:32

Assignment Answer Preview 06:47

Creating our first EA Preview 08:18

Adding Bollinger Band Strategy to EA Preview 08:05

TotalOrders and Magic Number Preview 18:21

Update Expert Advisor Preview 08:15

OrderModify Preview 08:38

Updating TakeProfit and StopLoss automatically Preview 20:25

Backtesting & Strategy Tester Preview 06:04

Backtesting our Expert Advisor Preview 14:24

Defining our Trading Strategy Preview 11:23

Coding our Trading Strategy Preview 20:31

Backtesting our Trading Strategy Preview 10:37

Running our Trading Strategy Preview 03:23

Additional Notes Preview 04:43