Articles

What is the MQL4 programming in Forex Trading

by Tlco P. web master
MQL4 programming is also known as Meta Quotes Language 4. It is a new built-in language for programming of trading strategies. This language allows creating your own Expert Advisors that make trading management automated and are perfectly suitable for implementing of one's own trade strategies. Besides, one can use MQL4 for creation of one's own Custom Indicators, Scripts, and Libraries. 

MQL4 programming is the programming language for implementing trading strategies. MQL4 is a C-like language, which is one of the fastest and most functionally valuable languages in the world. Its flexibility makes it possible to thoroughly verify all parameters of Expert Advisors. This enables developers to automate almost any trading strategy. As far as its speed characteristics are concerned, MQL4 out performs all specialized languages for trading strategies and comes second only to such high-level languages as Java and C++. This combination of wide functionality and high performance has made MQL4 the first choice of a majority of traders. The development environment is the first and foremost designed to create Expert Advisors. These programs allow full automation of the analytical and trading processes.

So basically you can use MQL4 to create custom indicators and scripts. Custom indicators are full analogues to built-in technical indicators. They are indispensable for analyzing price dynamics of financial instruments and showing trade alerts. If available technical indicators aren't enough, you can create your own or use those developed by other traders. Scripts are mini programs that automate small frequently repeated actions. Unlike Expert Advisors, scripts are performed only once. They do not perform with every tick. For example, a typical script could be a small program closing all open positions for all instruments with a single key.

Automated trading is a relatively new but very promising technology. Its main idea lies in transmitting account management to a computer program. In MetaTrader 4 market analysis is also entrusted to these programs. In other words, MetaTrader 4 completely releases traders from the routine market watching and the execution of trade operations. The MetaTrader 4 client terminal is supplied with the MQL4 programming Integrated Development Environment. This environment consists of the following parts and they are MetaTrader 4 terminal, MQL4 programming and Meta Editor Strategy. People can start creating simple programs. The section deals with the general principles of creating a simple Expert Advisor and a simple custom indicator, as well as the order of sharing an Expert Advisor with various indicators. Particularly, the section describes the order of data transfer from a custom indicator into an expert advisor. It also gives some examples of simple programs ready to be used in trading practice. MQL4 programming is a built-in language for programming trading strategies. This language is developed by Meta Quotes Software, which is based on their long experience in the creation of online trading platforms. Using this language, you can create your own Expert Advisors that make trading management automated and are perfectly suitable for implementing your own trading strategies. Besides, using MQL4 you can create your own technical indicators, scripts and libraries. Technical indicators are also known as custom indicators. 

MQL4 programming contains a large number of functions necessary for analyzing current and previously received quotes and has built-in basic indicators and functions for managing trade orders. This program can even control them. The text editor that highlights different constructions of MQL4 language is used for writing the program code. It helps users to orientate themselves in the expert system text quite easily. The brief guide contains functions, operations, reserved words and other language. Constructions divided into categories and allow finding the description of every used element of the language. Programs written in MQL4 programming & they have different features and purposes. Expert Advisor is a mechanical trading system linked up to a certain chart. An Expert Advisor starts to run when an event happens that can be handled by it. Script is a program intended for a single execution of some actions. Unlike Expert Advisors, scripts do not process any actions, except for the start event. Scripts are stored in terminal directory, MQL4 programming and Scripts. File is a source text of the most frequently used blocks of custom programs. Such files can be included into the source texts of Expert Advisors, scripts, custom indicators andlibraries at the compiling stage. 

The main difference between MQL4 and MQL5 is the appearance of the object oriented programming. So you can start learning MQL4 now, because:

1. If You know MQL4 the only thing in MQL5 to change in your programs will be names of a couple of start() init() deinit() functions;
2. If you know MQL4 the transition to mql5 will be smooth;
3. If you know mql5 you will know C language as well because they are VERY close;
4. Due to providing structures and other improvements in MQL5, there will be a LOT of new possibilities to merge MQL5 with any database, math, statistical packages etc.

Promised that MQL5 will be very similar to classic C / C++, except:

1. Pointers; 
2. Goto operator;
3. Anonymous enumeration;
4. Address arithmetic and class inheritance;
5. Some exotic staff from so-called "object-oriented programming": classes constructors do not have parameters, no multiply inheritance etc.

Operators overload and ternary operation ( expr ? op1 : op2; ) will probably be included later. 

Attempting to learn something can once in a while appear to be extremely overpowering at the outset yet as you get to be acclimated to the specific subject topic you instantly comprehend that it wasn't exactly as hard as you had initially dreaded. To just comprehend Mql4 you must discover the best starting Mql4 programming.

So MQL5 will be VERY close to C. The greatest improvement are structures. If you already know some basic MQL4 programming and want to learn C++, you can start with books like C++ for Dummies. You can also use C++ BNF description.

The mql4 programming can take including the most novice of programmers by way of the standard methods to build a easy expert advisor and presumes absolutely no prior programing knowledge or experience whatsoever. The programming serves as a great initial step to any person that’s thinking about finding out more about the metatrader 4 programming language and specifically the best way to develop expert advisors. You are going to swiftly get up to speed and will have created your own basic EA in no time at all.automated-trading-software.

The course concentrates just on making a master counsel and does not manage the best approach to program markers in any capacity. All things considered it is not by any means an excessive amount of more work to receive what you've procured in the metatrader mql4 programming and do the ideas to give you a chance to code an incredible marker. At the point when attempting to comprehend mql4 as with each other programming dialect you should dependably make an endeavor to peruse the help document gave, survey different bits of code and endeavor to comprehend of what its doing. It may appear extreme before all else yet believe me when you put forth a concentrated effort and stay concentrated you'll have the capacity to accomplish it. Search for a bit of composing on the net that sets out what it takes to turn into a Mql4 developer and find in the event that you have the right perspective. 

As you plan taking your contemplating simply a bit further there's a free digital book mql4 programming asset that will help you. 

Understanding Mql4 truly isn't much excessively hard . in any capacity and is likewise an incredible dialect to begin off with as its uninhibitedly focused around Visual Basic which can be a standout amongst the most clear dialects there is. Loads of individuals claim that mql4 is established on c++ which is really an amazingly viable dialect yet its language structure isn't generally intuitive. Absolutely the same can't be expressed of visual fundamental and subsequently mql4 as both work with truly commonplace and additionally basic English dialect developments inside their punctuation. The shiny new coding dialect for metatrader, mql5, is indeed a ton more practically identical to c++ and it is consequently no place near 'beginner benevolent' as mql4 seems to be.

The use of included files is more preferable than the use of libraries because of additional burden occurring at calling library functions. 

So basically MQL4 programming is the fastest, easiest and most valuable programming language in the world.

Sponsor Ads


About Tlco P. Freshman     web master

5 connections, 0 recommendations, 22 honor points.
Joined APSense since, August 21st, 2014, From coppell, United States.

Created on Dec 31st 1969 18:00. Viewed 0 times.

Comments

No comment, be the first to comment.
Please sign in before you comment.