Codes

Authenticate into an MT4 account from MQL4 (tested in build 880) for MetaTrader 4

MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+

HTTP requests for new MQL4 (tested in build 600) for MetaTrader 4

Simple library that allows sending requests via HTTP protocol from new MQL4

MySQL for new MQL4 (tested in build 600) for MetaTrader 4

Connecting to MySQL server from new MQL4

Forum

Window Handlers: Get handle of sub-element

Hi, I'm writing an expert that knows to switch between accounts. Experiencing following issue: hWnd - is handle of Login form in Terminal. I need to type Username/Password in fields and simulate pressing ENTER. Here is my code so far: PostMessageA(hWnd, WM_KEYDOWN, "MyUsername" , 0 ); // Type

Avoid CPU 100% overload?

Hi, What would you do if your Script/EA/Indicator overloads the CPU while running? What would you check first, what optimization would you apply? Especially if there is an endless loop in Script.. Thanks

clean/reset/refresh OrderSelect results/variables/values??

Hi, I wonder if there is any function or a smart way to clean everything that was retrieved/cached by OrderSelect() or any other function ? Something similar to RefreshRates(), something that will make me sure that next time I call OrderSelect it will return correct data and that in OrderTicket()