Skip to content

Commit

Permalink
Merge pull request #11 from EA31337/dev
Browse files Browse the repository at this point in the history
Updates code with new syntax
  • Loading branch information
kenorb committed Apr 28, 2021
2 parents ce4a9f8 + 72290a4 commit 370cc26
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/EA31337-Libre.mq5
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
Binary file modified src/EA31337-Libre.mqproj
Binary file not shown.
2 changes: 1 addition & 1 deletion src/include/classes
Submodule classes updated 253 files
2 changes: 1 addition & 1 deletion src/include/define.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/include/strategies
Submodule strategies updated 42 files
+1 −1 .github/Test.mq4
+1 −1 .github/Test.mq5
+1 −1 AC
+1 −1 AD
+1 −1 ADX
+1 −1 ATR
+1 −1 Alligator
+1 −1 Awesome
+1 −1 BWMFI
+1 −1 Bands
+1 −1 BearsPower
+1 −1 BullsPower
+1 −1 CCI
+1 −1 DEMA
+1 −1 DeMarker
+1 −1 ElliottWave
+1 −1 Envelopes
+1 −1 Force
+1 −1 Fractals
+1 −1 Gator
+1 −1 HeikenAshi
+1 −1 Ichimoku
+1 −1 MA
+1 −1 MACD
+1 −1 MFI
+1 −1 Momentum
+1 −1 OBV
+1 −1 OsMA
+1 −0 README.md
+1 −1 RSI
+1 −1 RVI
+1 −1 SAR
+1 −1 SAWA
+1 −1 SVE_Bollinger_Bands
+1 −1 StdDev
+1 −1 Stochastic
+1 −1 TMA_Band_SVE_True
+1 −1 TMA_True
+1 −1 WPR
+1 −1 ZigZag
+1 −1 enum.h
+2 −2 strategies.h

0 comments on commit 370cc26

Please sign in to comment.