How to start algotrading with MQL5.com and MetaTrader 5
Gleb GorokhovMetaTrader is the most popular trading platform in the world. Using it is very simple and gives amazing opportunities for every user with MQL5.com website — here you can find articles about trading, signals, robots and indicators etc.
Here I wrote basic steps to start using it with RoboForex broker and The Moonlight robot.
1 — Create account on MQL5.com
- Visit https://www.mql5.com/en/auth_register
- Sign up
- Log in
2 — Create account on RoboForex
- Visit https://my.roboforex.com/en/register/?a=vadb
- Fill the form with your basic info
- On next step you will see some private information, such as "The Wallet master password" — save it somewhere
- Create a trading account in the form below with next settings:
Trading platform: MetaTrader 5
Account Type: ECN
Hedge system: Yes
Currency: Any
Leverage: 1:30 (You can create different accounts with any leverage you want later, but Moonlight basically uses 1:30)
Affiliate code: vadb - Save your account information somewhere. You will need it soon to start trading. You will also receive it via E-mail.
- Click "Pass the verification" and verify your profile.
- Then you can visit page https://my.roboforex.com/en/operations/deposit-funds/ and add some funds to your account
3 — Download MetaTrader 5
- Visit https://www.metatrader5.com/en, download and install the program
- Run the program
- You will see the "Open an Account" window (you can find it in File menu). Write "RoboForex" in text field, click "Find your broker" and select RoboMarkets. Go next.
- On next step select "Connect with an existing trade account" and fill the form with information you received after creating the account on RoboForex (or find it in email)
- You will be logged into your trading account. Then go "File > Login to MQL5 Community" and log in with your MQL5 account.
4 — Buy, Rent or Test the robot
- Go to https://www.mql5.com/ru/market/product/60722, click one of the buttons below the avatar (Buy, Rent or Test)
- Robot should appear on "Market" tab inside the MetaTrader app
- You can click "Download" button or click test to use the robot in tester (for backtesting). You will also see the robot in your Navigator panel (CTRL + N, then find "Expert Advisors > Market")
- When you see the strategy tester window, find "Settings" tab, right click inside it, click "Load settings" and choose "Moonlight Basic Test.ini" from the Telegram Channel https://t.me/mqlpath
- Then go to "Inputs" tab, right click inside it and load the "Moonlight 1000% Grid.set". Click "Start" and you will see the balance chart. After the testing finished you will see the "Backtest" tab with testing results. I will tell you more about backtesting and optimizing opportunities a little bit later.
5 — How to start trading
- Buy or rent the robot here https://www.mql5.com/ru/market/product/60722
- Open the USD/JPY chart (File > New chart > USDJPY)
- Go "Tools > Options > Expert Advisors" and enable "Allow algorhitmic trading" checkbox. Close this window.
- Click on "Algo Trading" button on the top panel to make it green
- Drag & Drop "The Moonlight" from Navigator to the chart
- On "Common" tab enable the "Allow Algo Trading" checkbox
- Go to "Inputs" tab and load the settings file you want to try
- Click "OK". If you see the green light near the "Moonlight" text on right top corner of the chart, then everything is ok, robot is working.
- This method needs you to have trading terminal opened. If you want the robot to run in cloud 24/7, then use VPS https://www.mql5.com/en/vps
Please find some lessons on YouTube or somewhere to learn MetaTrader interface a little bit. It is very easy, to be honest.
Good luck!