Skip to content

Commit

Permalink
Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Oct 23, 2023
1 parent 0412cc9 commit f3da020
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Stg_MA_Cross_Shift.mq5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* Implements MA strategy.
* Implements MA Cross Shift strategy.
*/

// Includes conditional compilation directives.
Expand Down Expand Up @@ -33,7 +33,7 @@ input bool Info_On_Chart = true; // Display info on chart.
#define ea_name "Strategy MA Cross Shift"
#define ea_version "2.000"
#define ea_desc "Strategy based on the moving average price indicators implementing shifted cross signal."
#define ea_link "https://github.com/EA31337/Strategy-MA"
#define ea_link "https://github.com/EA31337/Strategy-MA_Cross_Shift"
#define ea_author "EA31337 Ltd"

// Properties.
Expand Down
6 changes: 3 additions & 3 deletions Stg_MA_Cross_Shift.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ class Stg_MA_Cross_Shift : public Strategy {

static Stg_MA_Cross_Shift *Init(ENUM_TIMEFRAMES _tf = NULL, EA *_ea = NULL) {
// Initialize strategy initial values.
Stg_MA_Cross_Shift_Params_Defaults stg_ma_defaults;
StgParams _stg_params(stg_ma_defaults);
Stg_MA_Cross_Shift_Params_Defaults stg_ma_cross_shift_defaults;
StgParams _stg_params(stg_ma_cross_shift_defaults);
// Initialize Strategy instance.
ChartParams _cparams(_tf, _Symbol);
TradeParams _tparams;
Strategy *_strat = new Stg_MA_Cross_Shift(_stg_params, _tparams, _cparams, "MA");
Strategy *_strat = new Stg_MA_Cross_Shift(_stg_params, _tparams, _cparams, "MA Cross Shift");
return _strat;
}

Expand Down

0 comments on commit f3da020

Please sign in to comment.