MQL4 TUTORIAL
MQL4 Tutorial for Metatrader 4 or MT4 about automated trading, trading robots, MQL 4 and MQL programming. Improve your trading results within 5 minutes a day!
MQL4 TUTORIAL – PLATIN SYSTEM – WILLAMS PERCENT RANGE ENTRY SIGNAL
Â
In this video, we want to create an Expert Advisor entry signal for this little Oscillator here. This is the volumes percent range oscillator. So let’s see how we we can create an entry module for our Platin System with MQL4. The Williams Percent Range Indicator is actually an oscillator signal, therefore it will be shown in a separate oscillator window below the candle chart. To create an entry signal for our Platin System we need to create a file called CheckEntry_WPR.mq4 in the same directory as our other files.
Â
<...MQL4 TUTORIAL – SIMPLE SMA STANDALONE EXPERT ADVISOR
In this video we are going to talk about a standalone Expert Advisor that is going to actually trade. Whenever the price is below this yellow line here – this is a Moving Average – we have already made a sell trade and in this video we are going to find out how to do a standalone Expert Advisor that actually trades in MQL4.
To do that please click on the little button here or press F4 on your keyboard, now you should see the Metaeditor window and here you want to click on: “File/ New/ Expert Advisor (templa...
MQL4 TUTORIAL – SIMPLE COMMODITY CHANNEL INDEX
In this video we are going to trade the Commodity Channel Index, that’s the Indicator right here; you see the two dotted lines and whenever the line here crosses the upper dotted line we consider that to be a sell signal and when it crosses the lower dotted line that would be a buy signal.
In this video we are going to find out how to automatically calculate this signal with a few lines of MQL4 code.
To do that please click on the little button here and now you should see the Metaeditor wi...
MQL4 TUTORIAL – FIND REMOVE AND FIX CORRUPTED BACKTESTING DATA
In this video, I wanted to talk about back-testing.
This is an automated trading system. Its trading the year 2016 right now, lets speed it up a little bit and you can see that we are making progress here. We also would like to back-test the whole year 2017, so you see that the Expert Advisor is running, lets stop the test here and we change the year to 2017 and start another test.
It does work somehow and now it’s finished but the first trade started in November 2017!
In this case we made a loss of...
MQL4 TUTORIAL – HOW TO GET THE LAST ERROR
Â
In this video we are going to talk about common backtesting errors and how to find them. This is an Expert Advisor, but it doesn’t show anything and it doesn’t trade. So the first thing you need to check is the journal tab here. And here you might see an error message like this one: order send error 131. Now, what does that actually mean? Let’s pause the strategy tester here.
Â
Right click on one of the error messages and select Copy. Now go to Google and paste the text her...