Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2010.02.24 18:03
Scripts

WININET_TEST - script for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Published by:
MetaQuotes Software Corp.
Views:
4173
Rating:
votes: 38
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 Software Corp.
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.