![]() ![]() Compiling means to convert the human readable script that yo u have just wrote to the machine language that your y our computer understands. mp4 (that’s to be easy to t o reopen it with Metaeditor), but you can save it as any extension you prefer.Īfter saving your program there is an extra step to make your code comes out to the light. Notepad is not bad choice, but do not forget two things: 1- To save the file you have created crea ted in plain text format. 1- The hard way The hard way is using your favorite text editor and the command prompt to compile your program. These were “What” MQL4 is? “Why ” to use MQL4? Now, “Where” do I write MQL4? To write your MQL4 code and as anything else in world, you can choose one of two ways, the hard way and the easy way. And of course has no access to indicator functions. Unlike the Advisor, scripts are being be ing held only once (on demand), and not by ticks. Script is a program designed for single function execution. Custom Indicator is a program which enables you to use the functions of the technical indicators and it cannot automate your deals. For example it can automate your market orders, stops orders automatically, cancels/replaces orders and takes your profit. Įxpert Advisor is a program which can automate trading deals for you.The language enables you to create one of the following: 1- Expert Advisors. And to make it stronger than the other trading platforms the company extended it by a built-in programming language that enables the user (you) to write his own trading strategies. MetaQuotes is the company who built the MetaTrader Trading Platform. MQL4? What, Why and Where? MQL4 stands for MetaQuotes Language 4. If you are programming in C (or its superset C++) then you know a lot of MQL4 before even I start my lessons, if you didn’t write in any programming language before, no problem, I’ll guide you to understand the concept of programming in general as well. In this series of lessons, I will show you how to use the MQL4 for building your own Expert Advisors, Custom Indicators and Scripts. In this series, I will try to strip the mystique and confusion from MQL4 by giving you comprehensive comprehensive tutorials with a straight forward example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |