1. Tools/Tab/ in MT 4 2. Select "Options" 3.Expert Advisors tab 4.check box "Allow DLL imports (potentially dangerous,enable only for trusted applications) thats it !