I am using MT4.try this. its the previous AP. you have 1.07 this one is 1.061 but 1.07 works fine for me as does 1.061
Will this version work ?
I am using MT4.try this. its the previous AP. you have 1.07 this one is 1.061 but 1.07 works fine for me as does 1.061
No it will not work on MT4if this is the same then i have no idea what so ever cos its all good for me. i run mt5 under wine emulation
Post automatically merged:
no idea try
Do you have logging turned off (Log file name set to empty)?Hello,
I have tried the suggested alternative method but same result.
The trades do not get closed at any stage.
I have attached a screen grab from the experts tab.
It might help in resolving the issue.
If it is not apparent to you then I will try an alternative broker.
Best Regards,
YesssssssDo you have logging turned off (Log file name set to empty)?
If so, try entering some file name there (like "log.txt") and try again. There is a bug that might be preventing normal position closing when log file is disabled.
Are you using multiple instances of AP (on different charts) but with the same log file?Anyone else have these issues.
If so how was you able to fix the problem
Regards,
Thanks for your suggestion.Are you using multiple instances of AP (on different charts) but with the same log file?
If not, then try changing the log file name to a single word, e.g. "logfile", and see if it helps.
Are you on Windows or some other OS?Thanks for your suggestion.
I have renamed to "logfile" as suggested.
I am only using 1 x instance of the AD
But the issue still remains.
Have tried several brokers and the same fault is still there.
Files attached
if (LogFile < 1) Alert("Cannot open file for logging: ", filename, ".");
I will give it a go.Are you on Windows or some other OS?
In the worst case, you can find the following line in the AccountProtector.mqh file:
Comment it out or remove it completely and then recompile the AccountProtector.mq4 file (not the extension .mq4, not .mqh - edit .mqh, compile .mq4). This should help with the Alert, but it shouldn't be popping up in any case unless there is a real error opening/creating the file .MQL4:if (LogFile < 1) Alert("Cannot open file for logging: ", filename, ".");
Does it happen on Windows or in Wine on macOS/Linux?I will give it a go.
Thanks
Try replacing with the attached file.I have now located the MQH file.
But I am unable to go any further as I cannot edit it.
I do not have the knowledge.
So I am appealing for help regarding this matter.
If someone could edit this for me and then pass on the correct file (with this line edited out)
I would really appreciate the effort.
I love the AP and it works well but I am stuck withe current log file issue
I am not a programmer.
Regards,
Thank youTry replacing with the attached file.