Good afternoon, I am newbie and I would like if someone could help me in developing an EA with metatrader 5. When I developed I get this message and do not know if mine is wrong or is that the broker will not let me.
can't open "C:\Users\Antonio\AppData\Roaming\MetaQuotes\Terminal\F121571A298C42AA81091954EA9924F7\MQL5\include\Object.mqh" include file SymbolInfo.mqh 6 11
Buenas tardes, soy novato y me gustaría si alguien me podría ayudar en el desarrollo de un EA con el metatrader 5. Cuando lo he desarrollado me sale este mensaje y no se si es por un error mio o es que el corredor no me permite.
Agracecería cualquier aclaración.GraciasAntonio
.mqh file stand for Meta Quotes Header.
1. Make sure that there is Object.mqh file in that location. Open that location ("C:\Users\Antonio\AppData\Roaming\MetaQuotes\Terminal\F121571A298C42AA81091954EA9924F7\MQL5\include\) and look for Object.mqh file. You can also open it from MetaEditor 5, click File > click 'Open Data Folder' > open MQL5 folder > open include folder and look for Object.mqh .
2. Open that Object.mqh file in MetaEditor 5 and compile it. You also can do it like this, Meta Editor > Open Navigator window Ctrl + D > open include folder > double click Object.mqh and compile it.
If you still have problem, look at the icon of your .mqh file, if it's not blank file icon (see picture below) then I think your .mqh file is associated with some executable program like for example MetaEditor 4 or notepad. You can also right click that .mqh file and select 'Properties'. In 'Open With' field you can see what program that will open your .mqh file. If it's not Windows Shell Common dll (see picture below), then that the problem of your error.
To solve this you must remove the association of your .mqh file so that your .mqh file is associated with nothing/none of executable program. Click here to search how to remove file association in Windows.
If you have any further question, please tell what Operating System you use (32 or 64 bit of 7 or Vista).
Hopes that helps.
Thank you for PM me and tell that the problem has resolve. Anyway, always restart the computer after using Command Prompt's ASSOC or regedit.
bool res=SendNotification(message); //.....here errors comes please co operate
It's an old thread but I couldn't find an answer. I put my class file in the Include folder, Object.mqh is there as well. I compiled the Object.mqh, the files are not associated with any program. Still I get an error message "Cannot open <path of the class file> include file". I tried the #include both with brackets <> and parenthesis "". What else can I do?