MQL4: display non std window information under MT4 - question

 

Hi,

I would like to get information from the current symbol on the current chart using the script (assigned the button Ctrl+M) or on the other way.

I would like to get the window like this:



Above window contains MarketInfo() forcurrent Symbol() informations. Is the possibility to get the window like that ?
How to do it using MQL4 syntax ?


Regards,
puncher


 
puncher:
Is the possibility to get the window like that ?
How to do it using MQL4 syntax ?

Not in mql4, perhaps via a DLL.

Open editor, online library, all market symbols. That creates an html page with similar things. You could create the page and then open it via

#import "shell32.dll"
   int ShellExecuteA(int hWnd, string Verb, string File, string Parameter, string Path, int ShowCommand);
#import
bool Shell(string file, string parameters=""){
    #define DEFDIRECTORY NULL
    #define OPERATION "open"    // or print
    #define SW_SHOWNORMAL 1
    int r=ShellExecuteA(0, OPERATION, file, parameters, DEFDIRECTORY, SW_SHOWNORMAL);
    if (r <= 32){   Alert("Shell failed: ", r); return(false);  }
    return(true);
}
 
WHRoeder:

Not in mql4, perhaps via a DLL.

Open editor, online library, all market symbols. That creates an html page with similar things. You could create the page and then open it via


Hi WHRoeder,


Thanks for the reply. Could you please add any example how to create on line library with any MarketInfo() item ?


Rgds,

Puncher

 
WHRoeder:

Not in mql4, perhaps via a DLL.

Open editor, online library, all market symbols. That creates an html page with similar things. You could create the page and then open it via



Do you mean about Meta Editor ? There is no online library...

 
 
WHRoeder:

Ok, but what next in online library should I do? I have never used it.