diff --git a/src/EA31337-Libre.mq5 b/src/EA31337-Libre.mq5 index ef4c56a..77692da 100644 --- a/src/EA31337-Libre.mq5 +++ b/src/EA31337-Libre.mq5 @@ -203,12 +203,12 @@ bool InitEA() { EAParams ea_params(__FILE__, VerboseLevel); // ea_params.SetChartInfoFreq(EA_DisplayDetailsOnChart ? 2 : 0); // EA params. - ea_params.SetAuthor(StringFormat("%s (%s)", ea_author, ea_link)); - ea_params.SetDesc(ea_desc); - ea_params.SetName(ea_name); - ea_params.SetVersion(ea_version); + ea_params.Set(EA_PARAM_AUTHOR, StringFormat("%s (%s)", ea_author, ea_link)); + ea_params.Set(EA_PARAM_DESC, ea_desc); + ea_params.Set(EA_PARAM_NAME, ea_name); + ea_params.Set(EA_PARAM_VER, ea_version); // Risk params. - ea_params.SetRiskMarginMax(EA_Risk_MarginMax); + ea_params.Set(EA_PARAM_RISK_MARGIN_MAX, EA_Risk_MarginMax); // Init instance. ea = new EA(ea_params); if (!ea.GetState().IsTradeAllowed()) { diff --git a/src/EA31337-Libre.mqproj b/src/EA31337-Libre.mqproj index 3e0ab5f..66ff741 100644 Binary files a/src/EA31337-Libre.mqproj and b/src/EA31337-Libre.mqproj differ diff --git a/src/include/classes b/src/include/classes index f4f5606..2d89dd6 160000 --- a/src/include/classes +++ b/src/include/classes @@ -1 +1 @@ -Subproject commit f4f5606838620dc9e8a63b87a060dc5390c7a4bc +Subproject commit 2d89dd6760fbc342cf0058b9304c085b31fe5ea9 diff --git a/src/include/define.h b/src/include/define.h index 0e9215e..64768cc 100644 --- a/src/include/define.h +++ b/src/include/define.h @@ -21,7 +21,7 @@ // EA defines. #define ea_name "EA31337 Libre" -#define ea_version "1.001" +#define ea_version "1.002" #define ea_desc "Forex trading robot" #define ea_link "https://github.com/EA31337/EA31337-Libre" #define ea_author "kenorb" diff --git a/src/include/strategies b/src/include/strategies index 3713577..058db8d 160000 --- a/src/include/strategies +++ b/src/include/strategies @@ -1 +1 @@ -Subproject commit 3713577bc2ff1d36ceb630c2c8c6807e08ec540a +Subproject commit 058db8dbf39e58fadf24dd9e9a516f36634f4bbb