Strategies No Longer Working in MT4

I was running additional validations of strategies on MT4 Strategy Tester with Tick Data Suite after first receiving the SQ software, but for some reason I have not been able to get new strategies to run on MT4 for a week now.  I have ruled out any incompatibility with the tick precision, as I can't get any new strategy to work on MT4 no matter what.  Strategies that I generated before last weekend still work just fine.  I have attached an MQL4 file for a strategy that works on MT4 Strategy Tester (AUDJPY), and one for a strategy that does not (EURUSD).  I have not tried to run the non-working EA on a live account.
Attachments
AUDJPY H1 Strategy 64485 5pct.mq4
(195.30 KiB)
Strategy 074261.mq4
(196.22 KiB)
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority High

History

TD
#1

Timbeaux

26.10.2018 17:11

Task created

TD
#2

Timbeaux

26.10.2018 17:21
There are all kind of developer notes in the MQL4 build, leads me to believe that there is something wrong in the code, not with my MT4 setup.
TD
#3

Timbeaux

26.10.2018 17:21
There are all kind of developer notes in the MQL4 build, leads me to believe that there is something wrong in the code, not with my MT4 setup.
KL
#4

kainc301

26.10.2018 23:41
Voted for this task.
h
#5

hankeys

27.10.2018 09:34
did you put the indicators to MT folder?
TV
#6

Tomas Vanek

27.10.2018 12:09
please attach log files from MT4
TD
#7

Timbeaux

27.10.2018 16:49

"did you put the indicators to MT folder?"


Yes, as I said they were working before

h
#8

hankeys

28.10.2018 08:47
i must say, that in B113 is critical error with MQL code, we are facing same issue - most strategies didnt trade
MF
#9

Mark Fric

29.10.2018 13:10

Priority changed from Normal to High

TB
#10

Tomas Brynda

30.10.2018 08:17

Status changed from New to Waiting for information

I think that the problem is caused by using Multichart Strategy without proper settings. The AUDJPY is a single chart strategy, but the other one is not. When you open your EA settings in MetaTrader, you should see parameters "Subchart1Symbol" and "Subchart1Timeframe". 


Please check these settings, the Subchart1Symbol is set to your SQ symbol name by default which might be unavailable in MT.

TD
#11

Timbeaux

30.10.2018 15:49

Attachment Strategy 2661.mq4 added

Attachment Strategy 61050.mq4 added

This also happens with single timeframe strategies.  The following two strategies were generated in the same genetic build, one works (2.6.61) and the other doesn't (6.10.50).  EURUSD 15M.
BA
#12

Grandmamoses

30.10.2018 19:32
Voted for this task.
BA
#13

Grandmamoses

30.10.2018 19:57

Attachment 20181023Strategy 595184 - Optimization 01016.mq4 added

Attachment 20181023Strategy 595184 - Optimization 01016.sqx added

Attachment MT4 Journal.xlsx added

Hi


I'm having the same problem. MT4 files produce little to no trades, in my case due to existing pending orders? See files attached if they help.


Thanks!

TB
#14

Tomas Brynda

31.10.2018 07:05

Status changed from Waiting for information to Fixed

There was a bug in Exit on Friday trading option MQL code. It looks like it caused different results in your case too. We already fixed it and will be releasing a quick patch asap
TB
#15

Tomas Brynda

31.10.2018 08:03

Status changed from Fixed to Waiting for information

I uploaded a patch here: https://roadmap.strategyquant.com/tasks/sq4_3246 . Can you try if it works with the new MQL scripts?
BA
#16

Grandmamoses

01.11.2018 18:51
It seems better thanks! There were 2 .zip in the thread to download. Your one worked. Mark's did not. Although I'm running with the internal.dat file in Marks .zip.
BA
#17

Grandmamoses

01.11.2018 18:51
It seems better thanks! There were 2 .zip in the thread to download. Your one worked. Mark's did not. Although I'm running with the internal.dat file in Marks .zip.
TB
#18

Tomas Brynda

02.11.2018 12:39

Status changed from Waiting for information to Fixed

m
#19

Martin

04.11.2018 01:15
Voted for this task.

Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please