Discussion of article "Projects assist in creating profitable trading robots! Or at least, so it seems"

 

New article Projects assist in creating profitable trading robots! Or at least, so it seems has been published:

A big program starts with a small file, which then grows in size as you keep adding more functions and objects. Most robot developers utilize include files to handle this problem. However, there is a better solution: start developing any trading application in a project. There are so many reasons to do so.

Now, compile the project and open the strategy tester with the MeanReversion EA. A new item "Load from EA" will appear in the context menu, on the Inputs tab. All available set files can be accessed from this menu.

Loading input parameters from the EA

Thus, the compiled EX5 file of the Expert Advisor is a fully completed product, with ready sets of parameters. The strategy can be instantly tested without having to set borders and steps for each of the desired symbols. Users and buyers of your trading robots will definitely appreciate this convenience.

Author: MetaQuotes

[Deleted]  

Thanks for the invitation ))))

But, sorry, in the article I saw only a light description of what a project is and a detailed description of a "test" EA.

But here's a question - is it possible to create a project not for an Expert Advisor, but, for example, for several scripts + Expert Advisor, using some common resources?

 
Сергей Таболин:

Thanks for the invite ))))

But, sorry, in the article I saw only a light description of what a project is and a detailed description of a "test" EA.

But here's a question - is it possible to create a project not for an Expert Advisor, but, for example, for several scripts + Expert Advisor, using some common resources?

create on Git/SVN/etc/none-number ... so that you can have many branches (no matter where the project goes, for different options/features) and more than 1 user is allowed.

and even there with multiple targets, tests will be a mess, a reasonable layout of files on the MQx/* tree will be a problem, and more than one active (open) project per terminal will also be a problem.

 

There can be only one main compiled file in a project. All other sources can serve as include files.

You can include EX5 files in the project as resources, for example, compiled indicators.

 
Funny title of the article :)
 

Советник MeanReversion в сентябре 2019 года был запущен на демосчете для проверки на программные и торговые ошибки в режиме реального времени

Owls will not work on characters with a tick size like 0.25 and such.

 

Check floating point dividers — проверка вещестенных чисел типа double и float на ноль в операциях деления. Отключение этой опции может повысить скорость работы, но делать это нужно сознательно.

On which tasks is this appropriate from a speed perspective?
 

Только первый месяц после запуска советника он показывал положительные результаты, затем в течение 5 месяцев подряд шли убытки. Благодаря тому, что на виртуальном хостинге включено автоматическое продление аренды, запущенный советник никому не мешал и уверенно шел к полной потере депозита. Но в марте произошли какие-то изменения на валютном рынке и советник вдруг показал рекордную прибыль. Следующие 2 месяца результаты были противоречивые, возможно, мы больше уже не увидим такого роста.

This was felt by everyone, without exception. The market changed so much that many robots showed a stable plus even after March. Over time, of course, these Expert Advisors became fewer and fewer. I can say for sure that the patterns established in March took place until the 1st of June.

 
fxsaber:
On which tasks is it expedient from the point of view of speed?

In tasks where division by zero is impossible.

 
Rashid Umarov:

In problems where division by zero is not possible.

I was interested in the difference in execution speed.