[131] MT5 bug with 2 indicator and code1

Dear SQ team

I use multi-timeframe  to crate strategy and load into MT5 but error like attachments.

Attachments
EUM15H1_MC_1028210401.mq5
(235.53 KiB)
2unknown.png
(51.76 KiB)
EUM15H1_MC_1028210401.sqx
(96.66 KiB)
unknown.png
(177.20 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

SC
#1

fxchess

25.04.2021 11:38

Task created

h
#2

hankeys

25.04.2021 14:05
set proper subchart by your broker


input string Subchart1Symbol = "EURUSD_T2";


EURUSD_T2 will not exist in your platform

SC
#3

fxchess

25.04.2021 14:47

Attachment 2021-04-25_205341.png added

2021-04-25_205341.png
(86.15 KiB)
I have already change it to my symbol name but the error still happen.
h
#4

hankeys

25.04.2021 19:12
why the symbol is greyed, is it tradable or not? try to open some manual pending order for example on this pair


its strange, that you have also classic EURUSD in the platform

SC
#5

fxchess

26.04.2021 01:35
because, yesterday is markets close.
JL
#6

jim6635x01

26.04.2021 17:17

Attachment 2021-04-26_230852.png added

Attachment 20210426.log added

2021-04-26_230852.png
(107.30 KiB)
20210426.log
(348.95 KiB)
Hi, SQ Team

After change the symbol, I retest this EA on IC markets MT5, but it stop at 8% of history, could you please check it.

Attach log file fyi.


Thank you

Jim


SC
#7

fxchess

27.04.2021 03:36

Attachment 2021-04-27_093434.png added

Attachment 2021-04-27_094101.png added

2021-04-27_093434.png
(182.33 KiB)
2021-04-27_094101.png
(44.18 KiB)
This EA compile with no error, but still happen error code 4802 with both SqKAMA and SqHeikenAshi indicatoss.

I have already replace and update those indicators to B131 then re-compile them.

Even I change the indicator's name with post-fix ".ex5" 

It's still happen the same error.

JL
#8

jim6635x01

27.04.2021 17:34
Voted for this task.
TB
#9

Tomas Brynda

20.05.2021 14:22

Status changed from New to Fixed

jim6635x01: A stop out means you ran out of money. Try to set higher initial capital when backtesting, that should fix the problem.


fxchess: The indicator names should be a plain name without extension, it is completely fine and should work.

Please check if the indicators are compiled and if they are in the right folder -> {MT5 data folder}/MQL5/Indicators.




SC
#10

fxchess

20.05.2021 14:38
Voted for this task.
SC
#11

fxchess

20.05.2021 14:41

Ok, I think the problem is I put the indicators in correct folder, but I create a file folder with name "SQX indicator" not in the root.So, that is why EA can't find the indicator.

But what is the error code 1 means?
TB
#12

Tomas Brynda

20.05.2021 18:05
Ok, that's it. You have to put the indicator files right into "Indicators" folder.

The error code 1 just means the initialization failed -> the OnInit method returned INIT_FAILED instead of INIT_SUCCEEDED constant.

SC
#13

fxchess

21.05.2021 01:33
ok, I got it thank you very much.

Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please