Libraries: CFileSet

Automated-Trading
163860
Automated-Trading  

CFileSet:

Extend of CFile class to work with the .set extension file which terminal will produce when the Input/Optimisation is saved.

Author: takumi

[Deleted]  

I didn't know there was somebody already have built similar project before,(https://www.mql5.com/en/code/27741)

However my version of CFileSet is inherited from CFile class, additionally it supports the multiple column separated by "||" for the optimisation.

CSetFileReader
CSetFileReader
  • www.mql5.com
Class to provide simple reading mechanism from MetaTrader set files.
amrali
4422
amrali  

I am sure you also did not know how to implement that:

 bool              TrySetValue(const string key, TValue value);

Pleas stop stealing 'somebody' code and try to give credit.

I do not even understand the intent of that strange || thing. Please give example.

[Deleted]  
amrali:

I am sure you also did not know how to implement that:

Pleas stop stealing 'somebody' code and try to give credit.

I do not even understand the intent of that strange || thing. Please give example.

Hi, thanks for the comment.

The separator || will be produced when the .set file is generated from MetaTrader5 platform, when it is numbers or enum or boolean.

You may try to produce the .set file from given ExpertAdvisor File to try it. There will be something like

InpTestEnum=89||0||0||89||N

in the set file written.

So the first 89 in this string are the actual parameter, and the rest is the optimisation parameter.