MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Traders need developers' services
To add comments, please log in or register
1000 developers are involved in Jobs service activity. Sign up!
Automated-Trading
Admin
38326
Automated-Trading 2010.02.24 18:03

WININET_TEST:

Here is a simple example that shows how to download page(file) from Internet using the wininet.dll library.

The WININET_TEST.mq5 script is a modified version of script s_wininet.mq4, published by Integer in MQL4.Codebase.

To see how does it works, don't forget to "Allow DLL imports" in the options of the client terminal and execute it at any chart.

Author: MetaQuotes


How to Post a Product in the Market
Publish your interesting applications in the Market, and they will be immediately available to all traders who use MetaTrader 5 worldwide. The Market is a great opportunity to earn, with an immediate transfer to the account and convenient statistics to help you analyze purchases and downloads of demo versions of your products. All MQL5 programs in the Market are automatically encrypted for a specific buyer, allowing up to three activations, and do not require additional protection from your side.
sgfxtrader
46
sgfxtrader 2010.02.26 09:19

Thank you for the effort!

It works perfectly! 

fjccpm
117
fjccpm 2012.02.14 00:19

When I try to run it the metatrader closes with a fatal error. Any solution?

fjccpm
117
fjccpm 2012.02.14 14:09
I found that wininet worked before the last MT5 update. But I still cant find a solution to make it work again. please let me know if you find how to overcome this problem.
Automated-Trading
Admin
38326
Automated-Trading 2012.02.14 14:36
fjccpm:
I found that wininet worked before the last MT5 update. But I still cant find a solution to make it work again. please let me know if you find how to overcome this problem.
http://www.mql5.com/en/forum/999#comment_152810
GuideFX
23
GuideFX 2012.11.24 20:40

Hi,

Problem with MT version 5 Build 730.

TerminalInfoInteger(TERMINAL_DLLS_ALLOWED) return false even if I check Allow Dll Import. If I comment this part, the next code work correctly.

Any idea?

 

/
To add comments, please log in or register