In this video, I am going to show you the fastest way to get an MQL5 automation system up and running.
I need to do it anyhow, because I need this video tutorial for my Forex trading framework, so I thought I could record the session also for YouTube.
If you don’t have traded with MQL5 before, you need to set up everything and in this video, we are going to do it as fast as possible.
I have bought this little Stick Pc. It uses the outdated Windows 8.1 so it was very cheap. It comes with a USB port and SD card slot and HDMI, an Intel Atom Quad-Core CPU, 2GB of RAM and a 32 GB SSD are more than enough to run an MQL5 automated trading system.
Now we need to go to and download MetaTrader 5 for free.
When you click on this button you will also get a free demo account, and after a few seconds you can open the setup.exe file, verify the installation permission, read the license agreement, continue.
Now a few files are downloaded and as soon as that is finished, read and agree to the license, click on “Continue” and when you are done click on “Finish”.
After a few seconds MetaTrader 5 should start. Please notice that is already connected to a demo account here. Now click on “Tools, Options” disable to news on the “Server” tab, reduce the bars on the chart to 5000 on the “Charts” tab.
Click on the tab: “Trade”, change the volume to default 0.10 lot, click on “Expert Advisors”, allow automated trading, remove the two marks here, click on “Events” and disable the sound events and leave the tabs for “Notifications”, “Email”, “FTP”, “Community” and “Signals” as they are.
Now, click on ok, open your web-browser, go to, click on “Menu, Downloads”, you can download the framework for just 1 Dollar, open the Zip file, copy the whole content, go to MetaTrader and click on “File, Open Data Folder”, click on the MQL5 folder, select “Experts, Advisors”, create a new folder.
I will call this one: ForexTradingFramework, insert the files here, click into the “Copy_into_Library_Folder, copy the Library, move up a few directories, select the “Libraries” folder now and paste the file here.
Please restart MetaTrader, click on “View, Strategy Tester”, select “Advisors, ForexTradingFramework” and the ForexTradingFramework.ex5. file.
We want to trade the EURUSD on the 1 minute chart, we will use the last year and a deposit of 100.000 Euros.
I use 1 to 500 for the leverage and we will use the 1 minute OHLC, that’s: open, high, low and close prices and start the test.
Now you should see something like this when you click on the “Graphs” tab.
We just made a total net profit of 185 Euros and 99 Cents with 9 automated trades.
Let’s go to “Settings”, select another currency pair, mark the visualization mode and start another test.
You will see a download for the history data here and once the download is finished, you should see your Metatrader doing automated trades.
Now you know how to setup Metatrader 5 and MQL5 for automated trading and do your first year of autotrading within 4 minutes and 40 seconds.