Editing Experts error discriptions ??
int lastError = GetLastError(); switch(lastError){ case 136: Print("Order off quotes"); break; case 146: Print("Trade context busy"); break; default: Print("...defaul statement..."); break; }
ok, can it not be modified within the metaquotes language directly?
You can expand the metaeditor-inculded file stderror.mqh that includes all errors with functions that return strings when called by error code.
I don't have and frankly I don't really need it at all :)
You can expand the metaeditor-inculded file stderror.mqh that includes all errors with functions that return strings when called by error code.
I don't have and frankly I don't really need it at all :)
I tried this and renamed the error but it still appears in my expert log as the orgional name??? Any ideas.
any help with this question.
Hi, can anyone tell me how can i change the error discription of a particular error code. eg. (Error 130== "invalid stops")
Can i make error 130 say "invalid/no stoploss present" ??
thanks in advance.