We may earn an affiliate commission when you visit our partners.
Course image
Mohsen Hassan and bloom team

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

Read more

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.

Enroll now

12 deals to help you save

We found 12 deals and offers that may be relevant to this course.
Save money when you learn. All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.
Use code at checkout. Ended October 29
24-Hour Flash Sale
Save on all online courses in your cart and take advantage of big savings.
FLASH SALE
24T6MT102824
Use code at checkout. Ended October 19
24-Hour Flash Sale
Save on all online courses in your cart and take advantage of big savings.
FLASH SALE
ST15MT100124A
Ended October 8
24-Hour Flash Sale
Take advantage of big savings on online courses.
Up to
80%
off
Ended September 28
24-Hour Flash Sale! Save up to 85% on Udemy online courses.
For 24 hours, save big on courses from Udemy's extensive catalog.
Up to
85%
off
Ended September 25
Save on courses
Gain the skills you need to reach your next career milestone.
Up to
85%
off
Use code at checkout. Only 43 hours left!
24-Hour Sale
Save with steep discounts on most courses including bestsellers from popular instructors.
Flash Sale!
ST7MT110524
Use code at checkout. Ended October 12
Explore new possibilities
Start exploring new possibilities for your future with courses on sale.
Up to
85%
off
ST14MT101024
Use code at checkout. Valid until November 13
Get skills that impress
Learn from courses across popular topics and take big discounts during this 48-hour sale.
Up to
80%
off
ST20MT111124A
Ended October 1
Personal Plan sale
Gain unlimited access to thousands of courses. For a limited time, save when you start an annual subscription.
From
40%
off
Use code at checkout. Valid until December 1
For new customers
Save when you purchase top courses. For new customers only.
Special Offer
UDEAFNULP2024
Ended November 1
New customer offer
New customers, complete your first order and save big.
Up to
80%
off
Valid for a limited time only
Future-proof your career
Access O'Reilly books, live events, courses, and more. Save with an annual subscription.
Take
15%
off

What's inside

Learning objectives

  • 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

Syllabus

Introduction
About Your Instructor
What You Will Learn in This Course
Why Automate Your Trading
Read more
Important Changes to be aware of
MetaQuotes and Expert Advisors
Expert Advisors
MetaQuotes Language 4 (MQL4)
EAs, Indicators and Scripts
Programming Basics
Printing Out Statements
Variables
Variables Advanced
Predefined Variables
Arithmetic Operations
Assignment Operations
Relational Operations
Logical Operations
Control Flow (Conditional Operators)
Warning: Beware of Scammers
If/Else Statements
Switch Statements
Functions, Preprocessor & Storage Classes
Functions
MetaTrader Functions
Include Files
Creating our First Useful Function
Calculating Take Profit and Stop Loss
Assignment: Create Take Profit and Stop Loss Calculator Function
Answer to Assignment
Global Variables
Input & Extern Variables
Arrays & For Loops
Arrays
For Loops
While Loops
MQL4 Technical Indicators
Enums Datatype
Moving Average
Bollinger Bands
RSI
Assignment: BB Indicator
Assignment Answer
Order Execution Functions
Pre Order Sending Checks
Checking Account Lot Size
Sending Orders
Assignment: Sending Orders
Error Handling
Answer to OrderSend Assignment
Risk Management
Position Sizing Methods
Creating Position Sizing Function
Assignment: Add Position Sizing in Algo
Expert Advisor
Creating our first EA
Adding Bollinger Band Strategy to EA
TotalOrders and Magic Number
Update Expert Advisor
OrderModify
Updating TakeProfit and StopLoss automatically
Backtesting
Backtesting & Strategy Tester
Backtesting our Expert Advisor
Coding Our Trading Strategy
Defining our Trading Strategy
Coding our Trading Strategy
Backtesting our Trading Strategy
Running our Trading Strategy
Additional Notes
Bonus Lecture

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Teaches how to build and program a fully automated trading robot (Expert Advisor) to automate trading, which is core to professional investing
Explores profitable trading strategies, which is crucial for success in FOREX trading
Taught by Mohsen Hassan and bloom team, both reputable experts in FOREX trading
Covers advanced technical indicators and order execution functions, tools that are essential for professional FOREX traders
Includes assignments throughout the course, which helps students apply their knowledge and skills, leading to better retention and mastery of the subject matter
Uses MQL4, the most popular FOREX programming language, making it highly relevant to the field

Save this course

Save Forex Algorithmic Trading Course: Code a Forex Robot! to your list so you can find it easily later:
Save

Reviews summary

Forex algo. trading course: code a forex robot!

learners say this Forex Algorithmic Trading Course: Code a Forex Robot! is largely positive. They say that the course is well received and engaging. Many students appreciate the step-by-step approach and the instructor's clear explanations, which make the material easy to understand. They also value the practical exercises and assignments that allow them to apply what they learn. Overall, learners say this course is a great choice for anyone who wants to learn how to code a Forex robot.
learners say this course seems to keep their interest throughout. They say the instructor is engaging, the material is well-organized, and the pace is good.
"I love the way Mohsen instructs. Always gives reasons for learning and doing. Feels honest and genuine in the information given. Like he really wants to teach you. Genuine dude. Learning a lot."
learners say that the course is well-organized and structured. They say the material is presented in a logical order and is easy to follow.
"The course was reduced to a very reasonable price. You will learn the basics of creating an Expert adviser. I would recommend you do the trading course first."
learners say that the course is very practical and that they have learned a lot that they can apply to their own trading. They say the assignments and exercises are helpful and that they have gained a lot of valuable knowledge.
"Mohsen is a great teacher and a great mentor. He has explained the concepts very well. He sticks to the topic, till you get the clear picture of the thing that he is making us understand. Awesome."
learners say that the instructor does an excellent job of explaining the content. They say the explanations are clear, concise, and easy to follow.
"I am able to code using MQL4 now without no coding / programming background! The course is amazing and it's the best online course that I have taken so far, worth every penny. Keep it up and look forward to your next course."
learners say that the instructor is knowledgeable and experienced. They say the instructor is able to explain the material in a way that is easy to understand and that they are always willing to answer questions.
"Moh is a fabulous instructor. You can be assured that you are going to understand every point that Moh explains. And if you don't, Relax Moh makes sure he repeats the complex things and make you understand, with examples."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Forex Algorithmic Trading Course: Code a Forex Robot! with these activities:
Review previous courses or study materials on MQL4
Strengthen your foundation in MQL4 programming by revisiting concepts from previous courses or study materials.
Show steps
  • Identify relevant previous courses or materials.
  • Review the materials, focusing on key concepts.
  • Complete any practice exercises or assignments included in the materials.
Read 'Forex for Beginners' by Anna Coulling
Build a solid understanding of Forex trading concepts to enhance your comprehension of the course material.
Show steps
  • Purchase and read the book, taking notes on key concepts.
  • Summarize the main ideas of each chapter in your own words.
  • Identify any unfamiliar terms or concepts and research them.
Organize and review course materials
Consolidate your learning by organizing and reviewing notes, assignments, quizzes, and exams to enhance your understanding of course concepts.
Show steps
  • Collect and organize all course materials.
  • Create a study plan and schedule regular review sessions.
  • Summarize key concepts and highlight important sections.
Six other activities
Expand to see all activities and additional details
Show all nine activities
Watch videos on backtesting trading strategies
Gain a deeper understanding of backtesting techniques to evaluate the performance of your trading strategies.
Browse courses on Backtesting
Show steps
  • Search for online videos or tutorials on backtesting.
  • Watch the videos and take notes on key concepts.
  • Apply the techniques you learn to your own trading strategies.
Follow a Udemy course on MetaTrader 4
Gain practical experience with the MetaTrader 4 platform, which is essential for executing trades in the course.
Browse courses on MetaTrader 4
Show steps
  • Enroll in a Udemy course on MetaTrader 4.
  • Complete the course lessons and hands-on exercises.
  • Practice using the platform on a demo account.
Solve coding exercises on LeetCode
Sharpen your MQL4 programming skills by solving coding exercises on LeetCode, focusing on problems related to trading.
Browse courses on Coding
Show steps
  • Create a LeetCode account.
  • Select MQL4-related problems and attempt to solve them.
  • Review solutions and learn from successful approaches.
Attend a workshop on automated trading strategies
Gain exposure to advanced trading strategies and learn from experts in the field to enhance your understanding and practical skills.
Browse courses on Trading Strategies
Show steps
  • Research and identify relevant workshops.
  • Register for a workshop that aligns with your learning goals.
  • Attend the workshop and actively participate in discussions.
Develop a simple trading strategy using MQL4
Apply your knowledge by creating a basic trading strategy in MQL4, considering entry and exit points, risk management, and position sizing.
Browse courses on Trading Strategy
Show steps
  • Define the trading strategy, including entry and exit rules.
  • Code the strategy in MQL4, using technical indicators and risk management techniques.
  • Backtest the strategy on historical data and analyze its performance.
Join a Forex trading forum and answer questions
Deepen your understanding of Forex trading by sharing your knowledge and helping others, while fostering a sense of community.
Browse courses on Mentoring
Show steps
  • Join a Forex trading forum or online community.
  • Monitor discussions and identify questions related to course topics.
  • Provide thoughtful and informative answers, sharing your knowledge and insights.

Career center

Learners who complete Forex Algorithmic Trading Course: Code a Forex Robot! will develop knowledge and skills that may be useful to these careers:
Quantitative Analyst
Quantitative Analysts use mathematical and statistical modeling to solve financial trading problems. This course can be useful for Quantitative Analysts. It teaches the programming language used in FOREX trading, MQL4. Proficiency in this language is crucial for coding trading strategies and building automated trading robots.
Market Research Analyst
Market Research Analysts conduct research on market conditions and trends to help businesses make informed decisions. This course may be useful for Market Research Analysts. It teaches the programming language primarily used for FOREX trading, MQL4. Market Research Analysts can benefit from coding tools and techniques used by FOREX traders.
Software Engineer
Software Engineers design, develop, and maintain software systems. This course may be useful for Software Engineers. It teaches the MQL4 language, which is widely used in FOREX trading. Software Engineers can gain valuable experience coding trading strategies and automated trading robots.
Trader
Traders buy and sell financial assets for personal or institutional accounts. This course may be useful for Traders. It offers a comprehensive overview of automated trading and teaches traders how to code their own strategies in MQL4. Traders can increase their profitability by developing automated trading robots.
Financial Analyst
Financial Analysts provide financial advice and make investment recommendations to individuals and institutions. This course may be useful for Financial Analysts. It teaches the basics of algorithmic trading and the MQL4 language. Financial Analysts can enhance their understanding of financial markets by learning to code trading strategies.
Data Scientist
Data Scientists use data to extract insights and solve problems. This course may be useful for Data Scientists. It provides an introduction to programming and covers concepts relevant to data analysis. Data Scientists can expand their skillset by learning to code automated trading robots.
Quantitative Trader
Quantitative Traders use mathematical and statistical models to trade financial assets. This course may be useful for Quantitative Traders. It teaches the MQL4 language and covers concepts related to quantitative trading. Quantitative Traders can expand their skillset by learning to code automated trading robots.
Investment Banker
Investment Bankers provide financial advice and services to corporations and governments. This course may be useful for Investment Bankers. It provides an overview of algorithmic trading and teaches the MQL4 language. Investment Bankers can expand their technical skills by learning to code trading strategies.
Hedge Fund Manager
Hedge Fund Managers manage investment funds that use advanced strategies to generate high returns. This course may be useful for Hedge Fund Managers. It teaches the MQL4 language and provides insights into automated trading. Hedge Fund Managers can enhance their strategies by learning to code automated trading robots.
Risk Manager
Risk Managers assess and mitigate financial risks for organizations. This course may be useful for Risk Managers. It provides an overview of algorithmic trading and the MQL4 language. Risk Managers can enhance their risk management strategies by learning to code automated trading robots.
Portfolio Manager
Portfolio Managers manage investment portfolios for individuals and institutions. This course may be useful for Portfolio Managers. It provides an overview of algorithmic trading and the MQL4 language. Portfolio Managers can enhance their portfolio management strategies by learning to code automated trading robots.
Investment Advisor
Investment Advisors provide financial advice and investment planning services to individuals and institutions. This course may be useful for Investment Advisors. It provides an overview of algorithmic trading and the MQL4 language. Investment Advisors can expand their service offerings by learning to code automated trading robots for clients.
Financial Planner
Financial Planners provide financial advice and planning services to individuals and families. This course may be useful for Financial Planners. It provides an introduction to algorithmic trading and the MQL4 language. Financial Planners can expand their service offerings by learning to code automated trading robots for clients.
Insurance Agent
Insurance Agents sell insurance policies to individuals and businesses. This course may be useful for Insurance Agents. It provides an introduction to algorithmic trading and the MQL4 language. Insurance Agents can expand their service offerings by learning to code automated trading robots for clients.
Loan Officer
Loan Officers help customers obtain loans from banks and other financial institutions. This course may be useful for Loan Officers. It provides an overview of algorithmic trading and the MQL4 language. Loan Officers can enhance their customer service by learning to code automated trading robots for clients.

Reading list

We've selected six books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Forex Algorithmic Trading Course: Code a Forex Robot!.
Is widely regarded as a comprehensive guide to algorithmic trading, providing a thorough overview of the concepts, strategies, and risk management techniques involved. It can serve as a valuable reference for those looking to develop and implement their own trading algorithms.
Offers a comprehensive overview of algorithmic and high-frequency trading, with a focus on machine learning techniques. It covers topics such as data analysis, feature engineering, and model selection. It is suitable for those who want to gain a deep understanding of the application of machine learning in algorithmic trading.
Classic in the field of technical analysis, providing a detailed review of technical indicators, chart patterns, trading strategies, and risk management techniques.
His book serves as a comprehensive reference for financial econometrics and statistics, providing an in-depth treatment of topics such as time series analysis, forecasting, and risk management. It is suitable for those who want to gain a strong theoretical foundation in these areas. It can be useful as a reference tool for understanding the statistical and econometric concepts used in algorithmic trading.
Explores the application of machine learning techniques to algorithmic trading, covering topics such as data preprocessing, feature engineering, and model selection. It is suitable for those who want to leverage machine learning to develop and enhance their trading strategies.
Covers the basics of Forex trading, from market structure and terminology to trading strategies and risk management. It can be helpful for beginners who need a comprehensive introduction to the topic.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Forex Algorithmic Trading Course: Code a Forex Robot!.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser