Our Blog

mt4 email alert

Greetings friends!

In this short article we will discuss how to setup your Expert Advisor so to get an MT4 email alert every time a significant event occurs. A significant event can be anything like successful execution of an order, or a position being closed at StopLoss, or even simply the price crossing a certain level. It’s up to you to decide when you want your FX Robot to send an email notification.

Step 1 – Open a Gmail Account

It is important to understand that MetaTrader 4 cannot send an MT4 email alert on its own. The only way your trading platform can do this is through an existing email account.

Of course, for this purpose you can use your personal email account. However, that way you may run into complications when configuring the SMTP server. Gmail is tried and tested, and generally speaking, I find that this is the easiest approach. (more…)

In this short tutorial we will summarize everything we learned in the previous section called “Putting it all together”. Looking back you will see how we first came up with an idea, then put that idea into a diagram, then programmed the algorithmic trading system step-by-step, making sure that everything works correctly every time, and […]

Welcome back to our Series of Tutorials! Today we are going to compare how our algorithmic trading system performs before and after adding the Moving Average entry filter. This will allow us to evaluate the effectiveness of this filter. Then we will learn how to optimise the filter for a given set of parameters. Do […]

In this tutorial we will add the moving average indicator as an additional market entry condition to our trading strategy. To do this we will use the iMA() function which is built-in into MQL4. Functions such as iMA, iMACD, iRSI and many others allow you to quickly access the Moving Average, MACD, RSI and other indicators from within your Algorithmic Trading Systems. In this beginners course we will only touch on the iMA() briefly, but that should be enough for what we need in our trading system.

Enrol in the full course here: https://www.forexboat.com/learn-mql4

(more…)

Today we will learn the very basics of backtesting. We will practice using the Metatrader Strategy Tester and see how we can optimize the expert advisor which we have created. We will find two different sets of parameters, which will both be profitable in the backtest. Please note: do not use this expert advisor for trading […]

In this video we will complete our Forex Robot by adding market exit conditions to it. Specifically, we want to close any existing orders before we the Algorithmic Trading System opens new ones. This way we will make sure that there is only one open order at any given time, therefore limiting our currency risk and exposure.

Feel free to leave me some feedback if you have any questions on the code or if you just like my tutorials!

Source code below

Enrol in the full course here: https://www.forexboat.com/learn-mql4

(more…)

Today we will continue coding the Simple System expert advisor. In this tutorial we will program the core of our Algorithmic Trading System.

We will use the OrderSend() function to send Buy and Sell orders to the market based on which way the price has moved. To check the price we will be using the Open[] array, which Metaeditor provides for us.

Source code under the video

Enrol in the full course here: https://www.forexboat.com/learn-mql4

(more…)

The preparation stage is complete and today we will finally start programming our FOREX Robot in MQL4. We will start by completing the blue section of the trading strategy design template, which is responsible for time of day controls. If you recall we want our expert advisor to send buy and sell orders only once at a certain hour of every day. That is exactly what we will implement today.

Enrol in the full course here: https://www.forexboat.com/learn-mql4

(more…)

Interested in Automated Trading System design? Well this tutorial is exactly what you need to improve your skills!

Today we will turn our Forex trading idea into a holistic trading strategy. Moreover, we will put it all into a fancy looking diagram to help our programming down the track, and I will show you how this is done too!

Enrol in the full course here: https://www.forexboat.com/learn-mql4

(more…)

In today’s tutorial we will brainstorm and together come up with a trading strategy idea for the GBPUSD. I think it’s important to enjoy what you program in MQL4, and therefore instead of coding something generic in the upcoming tutorials, we will be working on this really cool trend retracement idea. Look inside to find […]

What are you waiting for?

START LEARNING FOREX TODAY!

as seen on: