Forum on trading, automated trading systems and testing trading strategies
Something Interesting to Read March 2017
Sergey Golubev, 2017.02.27 10:50
MQL5 programming language: Advanced use of the trading platform MetaTrader 5: Creating trading robots and indicators
by Timur Mashnin
Development of indicators and advisors using the MQL5 programming language for the MetaTrader 5.
Forum on trading, automated trading systems and testing trading strategies
Something Interesting to Read December 2013
Sergey Golubev, 2013.12.25 08:14
The first guide to programming in MQL5 is here! "Expert Advisor Programming for MetaTrader 5" is a practical guide to creating automated trading strategies in the MQL5 language. Take advantage of MetaTrader 5's new features and take your trading to the next level! You'll learn how to program expert advisors quickly and easily using a ready-made framework created by an experienced MQL programmer. This book will teach you the following concepts: Learn the basics of MQL5, including variables and data types, operators, functions, event handlers, and object-oriented programming. Place, modify and close market and pending orders. Calculate, verify and add stop loss and take profit prices to an open position. Add a flexible trailing stop and/or break even stop to your strategy. Manage your trade risk with money management. Use pending orders to scale in and out of positions. Use price, time and indicator data in your expert advisors. Control program execution by trading on new bar open, and add flexible trade timers to your strategies. Walk through the creation of several basic trading strategies from start to finish. Inform the user with dialog boxes, email alerts, mobile notifications and sounds. Draw trend lines, arrows and text labels on the chart. Read and write data to CSV files. Learn the basics of creating indicators, scripts and libraries in MetaEditor. Debug, test and optimize your trading strategy. And much more! Whether you're an experienced programmer moving from MQL4, or a novice just starting with MQL5, this book will give you the foundation to quickly program fully-featured and robust trading systems. All programs and source code files featured in the book are available for download at the book's official website at Expert Advisor Programming for MetaTrader - MQL4 and MQL5 book
Forum on trading, automated trading systems and testing trading strategies
Request for a support in coding a strategy
Chris Mukengeshayi, 2018.01.09 13:42
MetaTrader 5
- Website: https://www.metatrader5.com/
- User Guide and Help: https://www.metatrader5.com/en/terminal/help
- Release Notes: https://www.metatrader5.com/en/releasenotes
MQL5
- Website: https://www.mql5.com
- Reference Documentation: https://www.mql5.com/en/docs
MetaTrader 4
- Website: https://www.metatrader4.com/
- User Guide and Help: https://www.metatrader4.com/en/trading-platform/help
- Release Notes: https://www.metatrader4.com/en/releasenotes
MQL4
- Website: https://www.mql4.com
- Reference Documentation: https://docs.mql4.com/
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.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I'm a beginner in MQL5 and I have been learning for about a week. I guess i should impress you maybe, so......
I have a very small background in html,css and Javascript.
I speak 4 languages and i am fluent in 2
I have been studying trading for a little over a 1 year, I study trading for 1 hour everyday.
Now a days i study mql5 everyday for 1 hour instead.
I'll let it be known that I will NOT ask for you to code something for me,
I wont ask for you to give me the answer to a problem,
I wont ask for money,
I wont ask unproductive questions,
and other obvious things that i shouldn't ask.
I really love trading, its the one thing that i have never gotten tired of, I'll be trading till I die and I want to dedicate my life to this stuff and I love programming but I stopped in the past because I could never think of something to build. I really want to make trading my full time job and soon automated trading aswell.
I already have a few bots running but they are third party, I have created my own trading system that I hope to one day automate with mql5.
Sorry if these kind of posts are not allowed, im just really struggling on how im supposed to learn this language, its kind of obscure so there aren't as many resources for it like there are Js, python, etc..., but then I think, people were able to master mql4 back in the early 2000s when there weren't as many resources and tutorials, so if they could do it then, then I could do it today.
Thanks for reading this