Discussion of article "How to Quickly Create an Expert Advisor for Automated Trading Championship 2010"

 

New article How to Quickly Create an Expert Advisor for Automated Trading Championship 2010 is published:

In order to develop an expert to participate in Automated Trading Championship 2010, let's use a template of ready expert advisor. Even novice MQL5 programmer will be capable of this task, because for your strategies the basic classes, functions, templates are already developed. It's enough to write a minimal amount of code to implement your trading idea.

Author: Андрей Корнишкин

 
I don't get it. what are the real chances with such TC (proposed in the article) to take a prize place at Champ ?
 
hryak:
I don't get it. what are the real chances with such a TS (proposed in the article) to win a prize at the Champ?
Of course, we try to publish materials that explain all the subtleties of MQL5 programming in an accessible form. But we still assume that readers can not only put letters into words, but also understand the meaning of what they read.
 
Hahaha. Sorry for the off-topic. Before writing this article I did exactly that. and I used 2 articles, prototype and 20 trading signals and found my strategy, changed the code a bit, added a couple of functions and the results were excellent.
20 торговых сигналов на MQL5
20 торговых сигналов на MQL5
  • 2010.08.17
  • Sergey Gritsay
  • www.mql5.com
В этой статье вы научитесь получать торговые сигналы, необходимые для работы торговой системы. Приведены примеры формирования 20 торговых сигналов в виде отдельных пользовательских функций, которые можно использовать в написании экспертов. Для вашего удобства все функции из статьи собраны в один включаемый mqh-файл, который легко подключается к будущему эксперту.
 

Please give some sample code for folloe thr rules of Championship 2010.

It is not easy to code since using position, order, and deal to manage order in mql5, and some functions like ordertotal() not always work right.

for example, iinsdie Ontrade() function,   ordertotal()  always return  0 at test mode.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Running MQL5 Program Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Running MQL5 Program Properties - Documentation on MQL5
 

Where all the files go? I put them in" C:\Program Files\MetaTrader 5\MQL5\Experts " and try to compile them and compiler shows a bunch of errors...?!?

Although I've managed to write few indicators in MQL5 I dont like the way MQL is going... too complicated.

I'm on Win7 x64. I cant believe I  cant use already written code...!!!  

 
Read client terminal help (F1)



 

Hello, thanks for this article. 

A little question: at the beginning of the programm, it talks about the include "ExpertAdvisor.mqh".

When I tried to code this, it told me that this include does not exist.

Has there been a name change? or am I doing something wrong?

thanks in advance for your help.