Inserting Code

If you insert a code programmed in C++, PHP, HTML, XML, CSS, SQL or MQL using a special function called by pressing the Code button, the code remains the same as it was in the special editor of that language. It remains structured in the same way, and various syntax elements are highlighted in their specific colors.

An MQL4 code inserted in a conventional way:

Code

An MQL4 code inserted using the special function:

Code inserted using the special function