Skip to content

Commit

Permalink
Replaces MA with MA Breakout
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 23, 2023
1 parent afce26d commit 65917ed
Show file tree
Hide file tree
Showing 4 changed files with 243 additions and 158 deletions.
2 changes: 1 addition & 1 deletion Stg_MA_Breakout.mq4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/**
* @file
* Implements MA strategy.
* Implements MA Breakout strategy.
*/

// Includes the main code.
Expand Down
8 changes: 4 additions & 4 deletions Stg_MA_Breakout.mq5
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ input bool Info_On_Chart = true; // Display info on chart.
#include "Stg_MA_Breakout.mqh"

// Defines.
#define ea_name "Strategy MA"
#define ea_name "Strategy MA Breakout"
#define ea_version "2.000"
#define ea_desc "Strategy based on the moving average price indicators."
#define ea_link "https://github.com/EA31337/Strategy-MA"
#define ea_desc "Strategy based on the moving average price indicators implementing breakout signal."
#define ea_link "https://github.com/EA31337/Strategy-MA_Breakout"
#define ea_author "EA31337 Ltd"

// Properties.
Expand All @@ -59,7 +59,7 @@ int OnInit() {
bool _result = true;
EAParams ea_params(__FILE__, Log_Level);
ea = new EA(ea_params);
_result &= ea.StrategyAdd<Stg_MA>(Active_Tfs);
_result &= ea.StrategyAdd<Stg_MA_Breakout>(Active_Tfs);
return (_result ? INIT_SUCCEEDED : INIT_FAILED);
}

Expand Down
Loading

0 comments on commit 65917ed

Please sign in to comment.