
Demonstrate how the ternary operator replaces if-else by conditionally assigning values, using examples like age >= 18 to determine is qualified, and ma50 versus ma100 for stop-loss.
Explore arrays in MQL5, declare, initialize, and access elements by zero-based indices, and print them with for and while loops, using array size and break keywords.
Explore how to use built-in technical indicators in MQL5, such as moving average, and access buffer values programmatically, preparing for creating custom indicators through hands-on projects.
Learn to apply the Bollinger band indicator in MQL5, access its upper, middle, and lower buffers, and implement band-based trading signals.
master the rsi indicator, a relative strength index oscillator, using a 14-period close and levels 30 and 70 to signal buy when below 30 and sell when above 70.
Register parabolic SAR in MQL5, configure step and maximum, use a single buffer to signal buy when SAR is below candle low and sell when above high, adapting to chart.
Explore the adx indicator in MQL5, including the main adx line and di plus/di minus buffers. Learn to set period, retrieve values, and identify crossovers for buy or sell signals.
Learn how to use the atr (average true range) indicator in MT5, set a 14 period, and view its buffer values to compare results across timeframes.
All Source codes
https://github.com/Oluwatobi17/MQL5---The-Complete-Guide-Resources
Develop an mql5 atr-based take profit and stop loss setter indicator, using four buffers for buy/sell tp and sl, with configurable atr period and multipliers.
Learn to build a custom mql5 indicator that overlays a moving average on the RSI window to detect crossovers as buy/sell signals, with configurable RSI and MA periods.
Learn to use a custom indicator in an EA with iCustom, specifying symbol and time frame, handling input parameters, and mapping indicator buffers (buy/sell take-profit and xl values) for automation.
Learn to use the Ekenachi custom indicator with four buffers for open, high, low, and close, and determine bullish or bearish candles by comparing close to open.
Learn to use iCustom without sharing the indicator file by embedding it through the resources path and folder navigation (indicators, examples, zigzag.ex5).
Explain why indicators cannot call trading or web functions, listing disallowed calls such as order calc margin, order calc profit, order check, order send, sleep, and message box.
Develop a lot-size calculation function in MQL5 that computes position size from account balance, a chosen risk percentage, and stop loss in pips, using pip value and built-in functions.
Learn how to create and use include files in MQL5 to reuse functions across scripts, avoiding copy-paste by calling the include and accessing its functions.
Learn to use the mql5 include file and trade class to place buy and sell orders, set volume, and apply TP and stop loss.
Learn how to manage positions in MQL5: distinguish positions from orders, iterate active positions from the end, get tickets, and close positions with appropriate slippage.
Learn to send and manage pending orders in mql5 using the trade class, including buy/sell limits and stops, set expiration, and manage order selection, closing, and deletion.
Implement a reusable breakeven function in MQL5 that moves the stop loss to the entry price after a favorable move, for both buy and sell positions, using pip thresholds.
Develop and implement a trailing function in MQL5 that moves the stop loss toward breakeven as the market advances, using trailing start and trailing step, for buy and sell positions.
Learn how pyramiding in MQL5 enters new positions as prices move in your favor, adjusts stop-losses for all positions, and manages buy and sell pyramiding separately to lock in profits.
Develop your first moving average crossover expert advisor in MQL5 by creating an S-Path Advisor, using a moving average indicator, with on init and on tick logic for backtests.
Backtest a moving average crossover EA with the MT5 strategy tester, validating logic against past data and examining signals, order indices, and inputs like stop loss and take profit.
Implement trailing in your MQL5 EA to manage trades by closing opposite signals, configuring trailing start and step in pips, and testing with the strategy tester.
Develop an RSI-based expert advisor that buys when RSI is below 30 and sells when above 70, with take profit, stop loss, and a break-even feature at 200 points.
Learn to manage trades with pyramiding in an MQL5 expert advisor: enable pyramid mode, add new positions on market moves, and adjust stop losses to protect profits, preparing for optimization.
Add a lot size option to an expert advisor with fixed lot and risk-based sizing, using an enum and a single volume calculation via calculate my lot size.
Learn how to optimize an expert advisor using fixed loss size or risk percents based calculation, set stop-loss and take profits, and test with break-even, trailing, and pyramid options.
Learn to implement a martingale trading strategy using the stochastic oscillator, with K line and signal line crossovers, grid adds, take-profit rules, backtesting, and debugging.
Learn to build a martingale EA in MQL5, implement stochastic crossover signals (k and d lines) with levels, magic number, and time frame, and manage take profits and closing positions.
This lecture explains the martingale operation using a 30-pip grid and a lot multiplier to add positions as price moves, and introduces average take profit for automatic closure.
Develop a martingale ea by calculating the average price weighted by lot size, setting take profit in pips, and updating buy positions as new trades enter.
Explore the recovery zone system, a high-risk, trending-market strategy (edging) that uses offsetting trades to seek profit, while risking account depletion in ranging markets.
Explore the recovery zone system in mql5, configuring magic number, initial lot, take profit, edge gap and multiplier, plus buy/sell hedges with pending orders.
Explore project 3: a grid trading strategy for ranging markets in MQL5, placing simultaneous buy and sell orders, locking in profits as price moves 50 pips.
Develop grid trading system in MQL5 that places grid-based buy/sell orders, tracks initial balance, and closes all trades or profitable trades when take profits are reached.
FOR THE LOVE OF AUTOMATED TRADING
Welcome to "MQL5 - The Complete Guide"!
This course will teach you MetaQuote Language 5 in a practice-oriented way, using all the latest patterns and best practices you need. You will learn all the key fundamentals as well as advanced concepts and related topics to turn you into a MQL5 developer.
MQL5 is THE most popular language you can use and learn these days to build modern, efficient and fully controllable algorithmic trading bots for the Metatrader 5.
And in this course, you will learn MQL5 in-depth, from the ground up, step by step by diving into all the core basics, exploring tons of examples and also introducing you to advanced concepts as well.
You'll get all the theory, tons of examples and demos, assignments and exercises and tons of important knowledge that is skipped by most other resources.
And in case you don't even know why you would want to learn MQL5 and you're just here because of some ad or "the algorithm" - no worries: MQL5 is a key technology to a Algorithmic trading developer, if you are a trader or interested in automation of your trading strategy. In this course I will also explain WHY it's that important and you will even go home with real-life Algorithmic Strategies you can adopt for making profit passively in the capital market!
This is a huge course because it really covers EVERYTHING you need to know and learn to become a MQL5 developer!
No matter if you know nothing about MQL5 or if you already got some basic MQL5 knowledge (not required but also not a problem), you will get tons of useful information and knowledge out of this course!
My goal with this course is to ensure that you feel confident working with MQL5, so that you can apply for Development of Forex trading Bot jobs, use it in your own projects or simply enhance your portfolio as a developer - whatever your goal is: This course gets you there!
What's in this course?
A thorough introduction to MQL5 (What is it and why would you use it?)
All the core basics: Forex Basics For a Algorithmic Developer
Programming Basics (Variables, Data Types, Decision Making, Functions, Loops, Arrays e.t.c)
Working with built-in Indicators like Moving Average, RSI, Bollinger Bands, Stochastic, ATR, ADX and custom indicators.
Building your own custom indicators
Building trade management functions like Breakeven, Trailing and Pyramid (Scaling In)
Building risk management functions for lotsize calculation like MyFXBook lotsize Calculator
Building Expert Advisors using built-in indicators and custom indicators
Building Algorithmic Expert Advisors like Martingale and Grid Trading System
Building Hedging Expert Advisor with Case Study: "Forex trading Strategy 100% winning trades!! WIN every trade you take!!!"
Working with WebRequest and Building an Expert Advisor that send out Telegram signals
Building an Equity protector
Drawing objects like Trendlines, Horizontal Lines, Vertical Lines, Button e.t.c on the chart
How to debug MQL5 codes
How to listen to keyboard events in MQL5
Position Functions, Order Functions, AccountInfo Functions, SymbolInfo Functions, ObjectGet/ObjectSet Functions, TerminalInfo Functions
Backtesting and Optimization
You will be able to develop custom indicators and Expert Advisors that are ready to be published on the MQL5 Market
Taking advantage of AI during development of your MQL5 project
Tons of examples and demo projects so that you can apply all the things you learned in real projects
And so much more - check out the full curriculum on this page!
This really is the "Complete Guide" - promised!
And best of all?
You don't need any prior MQL5 or any programming knowledge!
Also, you do not need a prior trading knowledge!
This course starts with zero knowledge assumed! All you need is access to a computer which you can use for practice.
Check out the full curriculum, the free preview videos and join the course risk-free thanks to the 30-day money-back guarantee!