Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Published by:
MetaQuotes
Views:
9574
Rating:
(51)
Published:
2010.02.24 18:03
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The WININET_TEST.mq5 script is a modified version of script s_wininet.mq4, published by Integer in MQL4.Codebase.

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

Input parameters:

  • URL - address of page or file (also it can reference to a binary file)
  • FileToSave - file name, that will be saved to terminal_data_folder\MQL5\Files\ folder of the client terminal.


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.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/82

sChartsSynchroScroll sChartsSynchroScroll

The script provides a synchronous scrolling for all charts opened in the client terminal.

LoongMAx96 LoongMAx96

Draws 96 line MAs with only 100 lines of code (uses CMyBuffer class).

Price_Channel Price_Channel

It's a well-known indicator that shows maximal and minimal prices (and average values) of the last n bars.

Trade Sessions Indicator Trade Sessions Indicator

This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.