Discussion of article "Order Strategies. Multi-Purpose Expert Advisor" - page 3

 
Alex5757000:

I understand that. The point is that from my point of view, such things should be posted as ready-made libraries,

that's already out there

in the form of a class.

there is no special charm in it for OOP. a set of functions does not contradict common sense.

Otherwise, a number of inconveniences appear when integrating with already ready-made EAs.

take the functions into the class of the Expert Advisor.

Using external .txt files is a bad idea in principle.

I like it.
[Deleted]  
sergeev:

It's already posted.

there is no special charm in it for OOP. a set of functions does not contradict common sense.

take the functions to your expert class.

I like it.
Well, if you take it piece by piece, you are right. The important thing is that the idea itself is very interesting. Moreover, I think that a class with various methods of money management, similar to the one given in the article, should be included in the standard library. Personally, I would use it very actively, and I'm sure many experienced developers are actively using various strategies for managing series of trades (phases)...
Документация по MQL5: Стандартная библиотека
Документация по MQL5: Стандартная библиотека
  • www.mql5.com
Стандартная библиотека - Документация по MQL5
 
Why Always Metaprogram Error in Metaprogram.txt ?
how ?
is it the Metaprogram missing ?
 
Hello ?~
Help Please... 
 

axeslee722:
Hello ?~
Help Please...

 

I feel confused. or this system is crap or not usefull. The performances are not there. But, are you sure performances will be shown in articles  here ?

 

 

Very good article with the possibility of application, just what I was looking for.

But perhaps it would be possible to systematise this language somehow through a menu instead of a file - it's too long to understand and it would be easier to parse the code itself instead of this superlanguage.

Anyway, great - very readable code. Thanks for your hard work!

 
jaguar1637:
MetaQuotes:

New article Order Strategies. Multi-Purpose Expert Advisor is published:

Author: Дмитрий

Thank you so much this article is very helpful.. its a must read for people developing new bots
 

Hey, everybody. Tell me if I'm doing something wrong.

How do I test an Expert Advisor? I created a file TesterMetaProgram.txt, copied the metadata from the settings file LimitAdd.txt into it, the file is located in MQL5/Files, everything is as described in the article, but at startup I get the following messages:

Alert: Failed to open the file TesterMetaProgram.txt and Alert: Metaprogram error in the file TesterMetaProgram.txt.

I tried copying TesterMetaProgram.txt file to all folders, the result is the same, what am I doing wrong?



 
suharik:

Hey, everybody. Tell me if I'm doing something wrong.

How do I test an Expert Advisor? I created a file TesterMetaProgram.txt, copied the metadata from the settings file LimitAdd.txt into it, the file is located in MQL5/Files, everything is as described in the article, but at startup I get the following messages:

Alert: Failed to open the file TesterMetaProgram.txt and Alert: Metaprogram error in the file TesterMetaProgram.txt.

I tried copying the file TesterMetaProgram.txt to all folders, the result is the same, what am I doing wrong?



Two alerts at once, about the impossibility to open the file and about an error in the file?

 
Yeah. I can't attach a screenshot, so I'd show you.