MQL4 - automated forex trading   /  

Forum

MQL4: display non std window information under MT4 - question

Back to topics list To post a new topic, please log in or register

avatar
1106
puncher 2011.07.20 16:19 

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



Metalanguage of Graphical Lines-Requests. Trading and Qualified Trading Learning

Metalanguage of Graphical Lines-Requests. Trading and Qualified Trading Learning

The article describes a simple, accessible language of graphical trading requests compatible with traditional technical analysis. The attached Gterminal is a half-automated Expert Advisor using in trading results of graphical analysis. Better used for self-education and training of beginning traders.


avatar
4328
WHRoeder 2011.07.20 18:22 
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);
}

avatar
1106
puncher 2011.07.21 11:52 
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



avatar
1106
puncher 2011.07.24 01:13 
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...


avatar
4328
WHRoeder 2011.07.24 02:10 


avatar
1106
puncher 2011.07.26 00:32 
WHRoeder:

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

To add comments, please log in or register