Candle Analysis Report – script MetaTrader 5

Candle Analysis Report - script for MetaTrader 5
This script is designed to perform candle analysis: Data Retrieval: The script retrieves the open, close, high, and low prices of candles for the financial instrument it is running on. Candle Categorization: It categorizes each candle as bullish, bearish, or neutral based on the relationship between its closing and opening prices. Amplitude Calculation: It calculates … Read more

Determine Broker’s Daylight (DST) schedule – script MetaTrader 5

Determine Broker's Daylight (DST) schedule - script for MetaTrader 5
Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule. The script scans the H1 chart bars at the expected dates for the daylight changes, and by comparing the changes in server (bar) times at these bars, the DST schedule of your broker can be determined. DST_AU schedule: server dst … Read more

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