A Hello World Program – MQL4 for Complete Beginners Tutorial Part 1

hello world

Welcome to the first video-tutorial on MQL4 programming for complete beginners!

Hello World

As Wikipedia states, a “Hello World” is by tradition often used to illustrate to beginners the most basic syntax of a programming language. That’s exactly what we will be doing today!

In this tutorial we will get to know the MetaEditor programming environment, get comfortable with the Graphical User Interface (GUI), and create our very own first MQL4 “Hello World!” program! Exciting, isn’t it?

This is a very basic tutorial to get you started. If you don’t have MetaTrader or MetaEditor installed yet, then check out this tutorial, where I demonstrate how to easily get this software for free.

Video Tutorial

These tutorials are presented in the form of 37 brief videos. To get the most out of this course, after starting the video, click the maximise button to make it fullscreen and also watch in HD quality so you can see the code clearly. Good luck with your “Hello World” program!

The code for this tutorial is located directly underneath the video.  There you can also ask any questions in the comments section – I am always glad to help out! 🙂

Code For This Tutorial

//| Tutorial1.mq4 |
//| Copyright 2014, ForexBoat |
//| http://www.forexboat.com |
#property copyright "Copyright 2014, ForexBoat"
#property link "http://www.forexboat.com"
#property version "1.00"
#property strict
//| Script program start function |
void OnStart()
Alert("Hello World!");


What are you waiting for?


share This:
Muhammad Awais

Leave a Reply

Your email address will not be published. Required fields are marked *

What are you waiting for?


as seen on: