Please make sure that all three files (Account Protector.mq4, Account Protector.mqh, and Defines.mqh) are placed into the same subfolder inside your /MQL4/Experts/ folder. Please also make sure that you compile Account Protector.mq4 and not any of the other two files. If the problem persists, please let me know what MT4 build you are using and attach the screenshot of the compilation errors. Thanks!In Metatrader 4 it does not compile. Many mistakes come out.