https://book.mql4.com/
Hello everyone
I want to ask if there is any course or a guide for MQL4 programming for a beginner. I searched on google I haven't found any, though I see many MQL4 developer but wonder from where did they learned all language skills. I know C#, C and SQl if it comes to basic programming other than that I am not really into IT much as I had been just focusing on trading only.
I am ready to put my time to learn the language but I just don't find any book or guide or anything that is not too much basic, for example I do know what is int, data types, functions, variables etc but I do not find anything above it.
Any help is appreciated.
This is how I started off ... by reading this book, together with the Official Documentation:
Forum on trading, automated trading systems and testing trading strategies
Sergey Golubev, 2017.09.16 05:40
Expert Advisor Programming for MetaTrader 4
This book will teach you the following concepts:
- The basic of the MLQ4 language, including variables and data types, operations, conditional and loop operators, functions, classes and objects, event handlers and more.
- Place, modify and close market and pending orders.
- Add a stop loss and/or take profit price to an individual order, or to multiple orders.
- Close orders individually or by order type.
- Get a total of all currently opened orders.
- Work with OHLC bar data and locate basic candlestick patterns.
- Find the highest high and lowest low of recent bars.
- Work with MetaTrader’s built-in indicators, as well as custom indicators.
- Add a trailing stop or break even stop feature to an expert advisor.
- Use money management and lot size verification techniques.
- Add a flexible trading timer to an expert advisor.
- Construct several types of trading systems, including trend, counter-trend and breakout systems.
- Add alert, emails, sounds and other notifications.
- Add and manipulate chart objects.
- Read and write to CSV files.
- Construct basic indicators, scripts and libraries.
- Learn how to effective debug your programs, and use the Strategy Tester to test your strategies.
All of the source code in this book is available for download, including an expert advisor framework that allows you to build robust and fully-featured expert advisors with minimal effort.
This is how I started off ... by reading this book, together with the Official Documentation:
Please do not put replies inside the quotation box. I have edited your post and moved it outside.
There is no need to learn mql4 if you want to learn mql5.
I have a similar coding background and started with MQL4, it's quite easy to catch up with since its syntax is based on C++. MQL5 syntax is exactly the same, but the order handling gets - in my impression - a bit overboard. MQL4 just knows open orders and closed (historical) orders, in MQL5 you'll have to cope with orders, deals and positions. My suggestion is to start with 4, build some small indicators and EAs and once your comfortable with the language move over to 5.
Please do not put replies inside the quotation box. I have edited your post and moved it outside.
There is no need to learn mql4 if you want to learn mql5.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everyone
I want to ask if there is any course or a guide for MQL4 programming for a beginner. I searched on google I haven't found any, though I see many MQL4 developer but wonder from where did they learned all language skills. I know C#, C and SQl if it comes to basic programming other than that I am not really into IT much as I had been just focusing on trading only.
I am ready to put my time to learn the language but I just don't find any book or guide or anything that is not too much basic, for example I do know what is int, data types, functions, variables etc but I do not find anything above it.
Any help is appreciated.