Libraries: Expert - page 4

 
fxsaber:

Thank you!

 

In the Market I have seen many times that authors attach set-files of their TCs for each character. Accordingly, buyers use them.


I propose to use the following logic for Market TCs

  • One input parameter is added
    input string FolderSets = NULL; // The folder with our TC's sets.
  • If this folder is specified by the user, the Expert Advisor automatically picks up all sets from this folder and runs its corresponding versions.
  • The user only needs to place the set-file in the folder and specify the path to this folder when starting the Expert Advisor (the author of the Expert Advisor can insert this path at once).
  • If the user makes a mistake and runs it twice, it can be automatically prevented from doing so.

This approach is also convenient for launching your own TS with one click.

Of course, the solution can be universal for both platforms. Roughly speaking, only one line will need to be added to the source code of any Expert Advisor.


Most likely, this is how I will launch EAs from now on. If anyone sees a flaw in this method or an improvement, let me know.


ZY Let's assume that a user already has Expert Advisors running with configured parameters. It is possible to automatically save set-files of all running EAs. And then use the above approach.


ZZZY On MT5 it is possible to run an EA not through set-files, but through opt-files. Imagine that you run a regular EA optimisation and you see several good sets of input parameters. You want to use them all at the same time - to spread the risks for diversification. For this purpose, you can create your own opt-file, which will contain only selected passes. It will be possible to automatically start these passes on the combat account. And additionally it will be possible to open this opt-file in MT5-tester and run each pass by standard means. I.e. opt-file becomes a diversified set of set-files. But it is also fully readable by the Tester itself.

 
fxsaber:

In the Market I have seen many times that authors attach set-files of their TCs for each character. Accordingly, buyers use them.


I propose to use the following logic for Market TCs

  • One input parameter is added
  • If this folder is specified by the user, the Expert Advisor automatically picks up all sets from this folder and runs its corresponding versions.
  • The user only needs to place the set-file in the folder and specify the path to this folder when starting the Expert Advisor (the author of the Expert Advisor can insert this path at once).
  • If the user makes a mistake and runs it twice, it can be automatically prevented from doing so.

This approach is also convenient for launching your own TS with one click.

Of course, the solution can be universal for both platforms. Roughly speaking, only one line will need to be added to the source code of any Expert Advisor.


Most likely, this is how I will launch EAs from now on. If anyone sees a flaw in this method or an improvement option, let me know.


ZY Let's assume that a user already has Expert Advisors running with configured parameters. It is possible to automatically save set-files of all running EAs. And then use the above approach.


ZZY On MT5 it is possible to run an Expert Advisor not through set-files, but through opt-files. Imagine that you run a regular EA optimisation and you see several good sets of input parameters. You want to use them all at the same time - to spread the risks for diversification. For this purpose, you can create your own opt-file, which will contain only selected passes. It will be possible to automatically start these passes on the combat account. And additionally it will be possible to open this opt-file in MT5-tester and run each pass by standard means. I.e. the opt-file becomes a diversified set of set-files. But it is also fully readable by the Tester itself.

I don't understand, can your suggestion about a folder with Set files for each Expert Advisor already be implemented or does it require actions from MQ?

The opt files have not become a reliable source, in any case, until there is an official decision on this issue. But in general, it is an interesting idea to store the settings database in a separate file at the platform level. At the moment I load settings from a csv file for MT4.

 
Aleksey Vyazmikin:

I don't understand, can your suggestion about a folder with Set files for each Expert Advisor already be implemented or does it require actions from MQ?

Yes, the current capabilities of both platforms allow to implement this in a universal form - only one line is written in the source, after which the EA starts to have the described functionality.

Opt files have not become a reliable source, in any case, until there is no official decision on this issue. But in general, the idea is interesting - to store the database of settings in a separate file at the platform level. At the moment I load settings from a csv file for MT4.

Opt files are a great source for passing around in the Marketplace etc. As it completely contains all the data of the Tester/Optimiser settings. It is enough to import it and then make selected single runs with one click.


For the Market, the set offer should significantly increase user-friendly products. Well, for MT5, transfer of custom opt-files is a completely different level of demonstration of your EA, when you do not need to understand the nuances of the platform, and you get immediately configured EA demonstration machine in the Tester.

 
fxsaber:

Yes, the current capabilities of both platforms allow this to be implemented in a universal form - only one line is written in the source code, after which the Expert Advisor starts to have the described functionality.

Opt-files are a great source for transferring to Market etc. Because it completely contains all the data of the Tester/Optimiser settings. It is enough to import it and then make selected single runs with one click.


For the Market, the set offer should significantly increase user-friendly products. Well, for MT5 transfer of custom opt-files of settings is a completely different level of demonstration of your EA, when you don't need to understand the nuances of the platform, and you get immediately configured EA demonstration machine in the Tester.

If we talk purely about the market, then selling the product together with the settings carries a certain risk, because quotes from different brokerage companies can differ and sometimes significantly, so re-optimisation is usually required. We understand perfectly well that most of the Expert Advisors for sale sells a beautiful picture and will not work on future data - just an ordinary adjustment. Therefore, the buyer should be taught not to use a ready-made solution, but to evaluate this solution, including optimisation of parameters, while the seller should be given a detailed description of which parameters and in what sequence it is better to optimise.

 
Aleksey Vyazmikin:

If we talk purely about the market, selling a product together with settings carries a certain risk, because quotes from different brokerage companies can differ and sometimes significantly, so re-optimisation is usually required. We understand perfectly well that most of the Expert Advisors for sale sells a beautiful picture and will not work on future data - just an ordinary adjustment. That's why the buyer should be taught not to use a ready-made solution, but to evaluate this solution, including optimisation of parameters, while the seller is required to give a detailed description of what parameters and in what sequence it is better to optimise.

I have never been able to understand why sometimes detailed posts are answered as if they were not read.

If someone has understood what was originally discussed, I will be glad.

 
fxsaber:

I've never been able to figure out why sometimes detailed, seemingly detailed posts are answered as if they weren't read.

If someone has understood what the original point was, I would be glad.

I think that in this case one can analyse the response and draw attention to one's own text, making appropriate edits to it, or provide additional comments.

I do not think that arrogance in communication can help to establish communication with society....

 
Aleksey Vyazmikin:

I don't think that arrogance in communication can help to establish communication with the society....

Unfortunately, I am so eloquent that not only I can't convey my thoughts correctly, but I also give the impression of arrogance.

Code, of course, is better.
 
fxsaber:

Unfortunately, I am so eloquent that not only can I not convey my thoughts correctly, but I also give the impression of arrogance.

Code, of course, is better.

It's not a fact that it's you and not me - maybe I'm not expressing myself correctly, but to understand it, you need more information - what you were misunderstood about.

The arrogance here is the unwillingness to spread out and give clarification - it's nothing personal.

 
Aleksey Vyazmikin:

It's not a fact that it's you and not me - maybe I'm not expressing myself correctly, but to understand that, you need more information - what you were misunderstood about.

The arrogance here is the unwillingness to spread out and give clarification - it's nothing personal.

Perhaps you have never worked with opt-files.