Questions tagged [mql4]

MetaQuotes Language 4 (MQL4) is a new built-in language for programming of trading strategies. This language allows to create 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.

MetaQuotes Language 4 ( MQL4 ) is a domain specific language for programming of trading strategies built-into a MetaTrader Terminal, a client-side trading software.

This language allows one to create own Expert Advisors that make visualisations, trading management augmented/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, Libraries and more complex, distributed/grid processing, solutions.

The structure and syntax of the language is very similar to C.

New MQL4, forcedly injected in about 2012, added new concepts, borrowed from not so widely accepted MQL5 domain and legacy MQL4 codes started to have two different (!) compilation/execution modes, depending on a use of a #property strict directive. Also some internalities of the MetaTrader Terminal platform started to be changed, resulting in a need to massively redesign / re-engineer code-base, due to injected changes ( having no other option but to re-design DLL interfaces and much more - string type ceased to be a string - a NULL terminated block of chars, to name just few )

The official compiler can be downloaded from here.

Check further details at: http://www.mql4.com/

MetaQuotes head of sales, Anthony Papaevagorou, has announced MetaQuotes no longer intends to issue upgrades to the MetaTrader 4 (MT4) [ reported on 2016-11-15 ]

753 questions
-4
votes
2 answers

How to decompile ex4 file to mq4

How can someone decompile ex4 file to mq4 file. I want to view the source code. Or rather how can you change the name of a expert adviso
PASCAL MAGONA
  • 29
  • 1
  • 3
-5
votes
1 answer

Calculate Pivot D1 W1 M1

How can I calculate the Pivots D1, W1 and M1? Can you provide me some ready to use formula?
DarioN1
  • 2,179
  • 6
  • 28
  • 57
-5
votes
2 answers

What is a correct code that I should write, in the MetaTrader4 Terminal Expert Advisor?

I would like to know the correct code, that I should write, in the Expert Advisor, MetaTrader4 Terminal, so as to import a value, from an Excel book, with a name xfox, Sheet casa9, the value that is in a cell A3.
1 2 3
50
51