100 errors, 16 warnings
-
Hello Forum,
I just made a small EA with 10 objects to test for free. I have made an mq4 file and imported it to the MetaEditor.
I didnt made any changes at the Editor and when I compiled the file it returned exactly 100 errors and 16 warnings.
Some errors are undeclared identifier, some are unexpected token.
I wanted to check if I can solve those issues myself, but so far I just have little experience with MQL5, but no MQL4.I wonder now if I purchase fxDreema the coding will be better? And what is happening if I convert it to MQL5? Still lots of errors?
Looking forward for your experiences and advices if you have.
Best regards
Simon -
@kelte81 You will get errors in both, warnings don't matter so much and probably wont cause a problem, in your editor go to the place of the error, find the block that is causing the error, go to Dreema and correct the problem, quite often 1 issue will cause many errors, work through the code until all issues are sorted. If you use the EX4 button then the errors will appear on screen, until you fix the last error then you will get the EA to test.
-
@kelte81 with 10 objects you cant make much wrong i think. The issue is on your side. If you have a setup that works it will never give you an error, that is caused by fxd. Warnings are mostly type conversion issues which are not so important...
-
@bk7 lol...it only takes 1 custom block to made 100 errors with a single missing semicolon
-
really ? i never had that many errors, i think max was 4 or so and that came from copying blocks around without writing the variable names correct. But if you say you had 100 within 1 block id like to see ^^
-
@bk7 lol. it was just many lines using iHigh & iLow. I was using 25 candle lookback for each, and simply forgot the ; and a ) in the whole thing every line displayed an error.