MQL4 syntax error

Hello,



Syntax error has been occured during MQL4 compile.
"." should be changed to "," , I think.
Please check this problem.


Malim

Attachments
SyntaxErrorMQL4.png
(20.88 KiB)
_POGO-EURUSD-H1-STD-BULLISHStrategy 20307.mq4
(80.64 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

?
#1

anonymous

05.09.2017 05:15

Task created

MF
#2

Mark Fric

05.09.2017 07:20

Status changed from New to Confirmed

MF
#3

Mark Fric

11.10.2017 15:08

Status changed from Confirmed to Waiting for information

I tried to reproduce it, but I cannot. Even when I change decimal separator in Windows, MetaTrader stil expects it to be ".", not ","


What language and regional settings are you using?

k
#4

rnd_7378f217b90kkk

11.10.2017 15:34
I use Korean language and regional setting is UTC+9:00 Seoul (Korea, Republic of : South Korea)


k
#5

rnd_7378f217b90kkk

12.10.2017 09:41
Ah, It's not the problem of decimal seperator.

This line is the problem  --->  int ExitAfterBars.ExitAfterBarsVar1 = 0;


MF
#6

Mark Fric

12.10.2017 10:54
ok, I see now. Could you attach this strategy here? I mean .sq4 file, not .mq4


Because these variables should be already generated in the correct format, not like this.

k
#7

rnd_7378f217b90kkk

12.10.2017 15:39
I searched it up but, unfortunately, It seems deleted weeks ago because it show poor performance during MT4 backtest..

I'll report it again if it met this same problem during strategy testing. Thank you.



MF
#8

Mark Fric

13.10.2017 11:17

Status changed from Waiting for information to Fixed

o, I'll set it to Fixed for now and we'll look at it if you'll experience it again

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please