Alım-satım fırsatlarını kaçırıyorsunuz:
- Ücretsiz alım-satım uygulamaları
- İşlem kopyalama için 8.000'den fazla sinyal
- Finansal piyasaları keşfetmek için ekonomik haberler
Kayıt
Giriş yap
Gizlilik ve Veri Koruma Politikasını ve MQL5.com Kullanım Şartlarını kabul edersiniz
Hesabınız yoksa, lütfen kaydolun
Hello,
I am experiencing a critical compiler bug in MetaEditor build 5147. The compiler consistently fails on 100% syntactically correct MQL5 code, producing basic errors like "object required" and "; - unexpected token".
I have performed extensive troubleshooting to isolate the issue, including the following steps:
Tested multiple versions of a complex Expert Advisor. The error persisted, appearing on different, but always correct, lines of code.
Performed a full, clean reinstallation of the MetaTrader 5 platform using the latest installer from the official website. This was done after restarting the PC and with antivirus software disabled. The problem remained.
To definitively isolate the failure point, a minimal validation script ( SystemValidator.mq5 , code provided below) was created.
This minimal script also failed to compile. The error occurs specifically when trying to access the predefined __MQL5__ structure, which is a fundamental part of the MQL5 language. This proves that the compiler itself is faulty and cannot process basic language constructs on my system. The issue is not with the MQL5 code, but with the compiler environment's interaction with my OS.
Please investigate this issue.
Technical Details:
MetaEditor Version: Version: 5.00 build 5147
Operating System Information:
Edition: Windows 11 Pro
Version: 24H2
OS Build: 26100.4652
Installation Date: 13.07.2025
Error Messages and Proof:
The error occurs on line 19 of the
SystemValidator.mq5 script.
The Failing Line: PrintFormat("MQL5 Version: %d", __MQL5__.version);
Error Messages: object required ,
';' - unexpected token
(I have attached the screenshot of the compilation log for SystemValidator.mq5 which shows these errors.)
Minimal Code That Causes the Error: