Day Of Week, Week Of Year and other marks in Data Window and on chart – indicator MetaTrader 5

Day Of Week, Week Of Year and other marks in Data Window and on chart - indicator for MetaTrader 5
The indicator WeekDays displays Day Of Week, Week Of Year, Day Of Year or Bar Index in the Data Window, and optionally in labels on the chart. As usual, the information in the Data Window is updated dynamically according to mouse movements: the name of the day is always promptly updated in the left column, … Read more

Script to extract Candlesticks data from all time frames to CSV. – script MetaTrader 5

Script to extract Candlesticks data from all time frames to CSV. - script for MetaTrader 5
Overview of the CandlesticksData Script The CandlesticksData script is designed for the MetaTrader 5 trading platform, allowing traders and developers to export detailed candlestick data into a CSV file for further analysis or record-keeping. This script is particularly useful for quantitative analysis, backtesting trading strategies, or for educational purposes, enabling users to examine historical price … Read more

Save OHLCV Data from Chart to CSV File – script MetaTrader 5

Save OHLCV Data from Chart to CSV File - script for MetaTrader 5
The standard method of getting historical data in metatrader5 is to use “View>Symbols>Request” tool as shown in the picture below: However, this sometimes doesn’t return all the data available on the chart. This script saves all the available historical data to a CSV file located in “Files” folder inside the “Common Data Path” directory. Note: Make … 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

Spread Data Logger – indicator MetaTrader 4

Spread Data Logger - indicator for MetaTrader 4
Are you getting the spread you’ve been quoted by your broker? Ever wanted to verify spread data stats from another source or create your own data? Description: Spread Logger consists of two indicators: Spread Logger Write – Creates a CSV file containing spread data as a function of time. This is done in real-time. Spread … Read more

All Market Symbols and Data extraction script – script MetaTrader 4

All Market Symbols and Data extraction script - script for MetaTrader 4
Description: Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted. Drag and drop the script on whatever chart. To visualize the report, just open it with your browser. (Its file is contained in the “/experts/files/” folder). An example of the Report can be found here . All Market … Read more

Simple tick data collector – indicator MetaTrader 4

Simple tick data collector - indicator for MetaTrader 4
Description: Many people don’t have high-frequency forex data (every minute for example) for discovering new strategies or backtesting an trading idea. Here, I write a simple tick data collector in MQL4 for you to collect tick data on any symbol you choose. You need to use it as an indicator though it doesn’t draw anything … Read more

JForex OHLC data converter – script MetaTrader 4

JForex OHLC data converter - script for MetaTrader 4
Rewrites JForex csv data without the weekend candles and the seconds. If you export OHLC data from JForex platform, you will see it is not ready to import into MetaTrader 4 – the first row is the name of the columns, and the data contains weekend candles (open=high=low=close, and volume=0). This script makes the data … Read more

sHistoryExport – handy script to export the historical data in the МetaТrader 4 format – script MetaTrader 5

sHistoryExport - handy script to export the historical data in the МetaТrader 4 format - script for MetaTrader 5
Script for historical data export. Problems with history in MetaTrader 4? Load the detailed history of any depth from MetaTrader 5!   Step 1: Set up Load script in the “terminal_data_folder\MQL5\scripts\”. Load libraries CheckHistory and String to the “terminal_data_folder\MQL5\Include\komposter\”. Compile the script.    Step 2: Set the depth of the history Go to the menu “Tools – Options” … Read more