Discussion of article "Trade Operations in MQL5 - It's Easy"

 

New article Trade Operations in MQL5 - It's Easy is published:

Almost all traders come to market to make money but some traders also enjoy the process itself. However, it is not only manual trading that can provide you with an exciting experience. Automated trading systems development can also be quite absorbing. Creating a trading robot can be as interesting as reading a good mystery novel.

When developing a trading algorithm, we have to deal with plenty of technical issues including the most important ones:

  1. What to trade?
  2. When to trade?
  3. How to trade?

We need to answer the first question to choose the most suitable symbol. Our choice can be affected by many factors including the ability to automate our trading system for the market. The second question involves elaboration of the trading rules clearly indicating deals' direction, as well as entry and exit points. The third question seems to be relatively simple: how to buy and sell using some definite programming language?

In this article we will consider how to implement trade operations in algorithmic trading using MQL5 language.

Author: MetaQuotes

 
The article is simply a must-read for beginners.... Imho, should have been written one of the first.... but better late than never :-)
 

Bravo!

This article has only one flaw - the publication date. To me, it should be somewhere between 2010 and 2011.

 
It's just right for me. Before I would not have seen, and now I follow everything, but to search as well as everyone is lazy, not even lazy, just no time - the older ... the more stupid! So only new stuff. And I'm happy.
 

Very informative, great article. Thank you.

A sequel is called for... like this section of the textbook, using classes in the standard approach to writing an Expert Advisor.

Although, in principle, there is already a series of articles on this topic, for example, here is one of them... But, it's not much....?

So far, I'm still approaching the consideration of classes....

Создание обычной программы - Учебник по MQL4
  • book.mql4.com
Создание обычной программы - Учебник по MQL4
 
komposter:

Bravo!

This article has only one flaw - the publication date. I think it should be somewhere between 2010 and 2011.

Unfortunately, we just don't have time to write all the articles ourselves. If I had the time, there are plenty of topics that are begging to be published.
 
Rosh:
Unfortunately, we just don't have time to write all the articles ourselves. If I had the time, there are a lot of topics that need to be published.

So at least develop the "Write and Earn" thread https://www.mql5.com/ru/forum/542 with your ideas/suggestions for articles. Otherwise there are only hints. The last hint was about "The Way of the Turtles" https://www.mql5.com/ru/forum/7186/page6#comment_287365, and then only "exciting imagination" discussion with Zeleniy how to create and delete an article with the title "Test".

So, look who if not an article will write, so with the topic will get acquainted. I, for example, after your hint "The Way of the Turtles" reread it for the second time and also got ideas for an article.

Пиши и зарабатывай на MQL5
Пиши и зарабатывай на MQL5
  • www.mql5.com
Использование графических объектов в индикаторе.
 
abolk:

So, you will see who, if not write an article, will get acquainted with the topic. For example, after your hint, I reread "The Way of the Turtles" for the second time and got some ideas for an article.

The ideas presented in this book confirm the correctness of creating MQL5 Wizard. But every beginner tries to create something complex and unique instead of learning the basics. Even a simple verification of the ideas expressed there about testing trading systems using MQL5 can provide a lot of food for beginners and is a good topic for an article.

 
Very good article, my biggest headache was the trading part of the code. Now it takes 3 minutes and a couple of lines of code.
 
 Print(symbol_info.Name()," (",symbol_info.Description(),")",
         "  Bid=",symbol_info.Bid(),"   Ask=",symbol_info.Bid());
You should still review the code before publishing.
 

Quote:

"Use the trade classes from the Standard Library, and let the time you save come in handy for more important things".

I agree, trade classes have stabilised enough by now. So why, while advocating their use, the examples include functions to get tool properties instead of using methods of CSymbolInfo class. It seems inconsistent.