Libraries: Expert

 

Expert:

A library for reading/writing the parameters of arbitrary Expert Advisors.

Author: fxsaber

 
Fixed bug. Last version.
 
All library functionality now works on MT4.
The library has become cross-platform.


MT4-example:

Форум по трейдингу, автоматическим торговым системам и тестированию торговых стратегий

Библиотеки: Expert

fxsaber, 2019.04.09 13:19

#include <fxsaber\Expert.mqh> // https://www.mql5.com/ru/code/19003

void OnStart()
{
  MqlParam Params[2];

  // Путь к советнику
  Params[0].string_value = "Moving Average";
  
  // Первый входной параметр советника
  Params[1].type = TYPE_DOUBLE;
  Params[1].double_value = 0.5;  

  Print(EXPERT::Run(ChartOpen(_Symbol, _Period), Params));
}
 
Nice work, but I guess right now it will load the Expert with the default preset? It would also be good if you could load SET files for the chosen expert
Reason: