Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v3.004-dev-indi-rename' into v3.…
Browse files Browse the repository at this point in the history
…008-dev-new

* origin/v3.004-dev-indi-rename:
  Moves Indicator and IndicatorBase into Indicator/
  • Loading branch information
kenorb committed May 4, 2024
2 parents 3b58324 + d0b8d22 commit 3a3e450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Trade.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,8 @@ HistorySelect(0, TimeCurrent()); // Select history for access.
bool AddTask(TaskEntry &_tentry) {
bool _is_valid = _tentry.IsValid();
if (_is_valid) {
tasks.Add(new TaskObject<Trade, Trade>(_tentry, THIS_PTR, THIS_PTR));
TaskObject<Trade, Trade> _taskobj(_tentry, THIS_PTR, THIS_PTR);
tasks.Add(&_taskobj);
}
return _is_valid;
}
Expand Down

0 comments on commit 3a3e450

Please sign in to comment.