WININET_TEST – script MetaTrader 5

WININET_TEST - script for MetaTrader 5
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 … Read more

Export historical data – script MetaTrader 5

Export historical data - script for MetaTrader 5
The script purpose is to export historical rates data to format, convenient for analysis in external programs, for example, in MathCad (example is attached). The output file contain the historical price data (bars) of the specified month in the following form:  DoubleToString(rates[i].time,0),     // number of seconds, passed from 1 Janunary 1970               rates[i].open,         // Open … Read more

s-LastPinkEventDate – script MetaTrader 5

s-LastPinkEventDate
Since build 344 of the client terminal display of economic calendar news using special graphical objects (OBJ_EVENT) is added. A script that outputs as a demonstration of the Economic Calendar with current economic data, the date of the last major(Pink) event. Use the function datetime last_pink_event_date() //+——————————————————————+ //| The function returns the date of the … Read more

YURAZ_CreateCSV_HistoryFile_From_MT5_For_MT4 – script MetaTrader 5

Script for export historical data from MetaTrader 5 to MetaTrader 4
When I used the history quotes data from MetaTrader4 client terminal, I have found that some brokers doesn’t have the full history. The quality of the historical bar data is better, so I have decided to export the historical quotes from MetaTrader 5 and import them in MetaTrader 4. This script will help you to … Read more