Fetch, Store and Export OHLC price data for a range of symbols over a specified time period.

MQL5 Scripts

Specification

Hi everyone,

I need an expert to write a script in MQL5 that will fetch and store OHLC price data for a specified time period for a range of specified symbols. The data will be saved in 4 separate Excel CSV format files, one file for Open price data, one file for High price data, one file for Low price data and one file for Close price data. In each CSV file, the dates will be listed vertically in column A, and the range of symbols horizontally starting from row 2 column B. Each file will contain all the specified dates and all the specified symbols.

In the beginning, I will run the script to capture OHLC price data for the past 100 days (as an example) and then I will be running the script once every day to capture the previous day's OHLC price data for all the specified symbols.

Date EURUSD GBPUSD XAUUSD NASDAQ
2024.04.01 1.09212 1.24605 2334.015 18167.15
2024.04.02
1.09452 1.24988 2342.518 18097.35
2024.04.03
1.09433 1.25124 2345.007 18011.23
2024.04.04
1.09658 1.24784 2325.987 18159.67

The above table shows how data will be displayed in Excel CSV file for one data point, say Open price.

Hope it is clear enough. At your disposal for further clarification.


Regards,

Petros


Responded

1
Developer 1
Rating
(30)
Projects
35
26%
Arbitration
0
Overdue
4
11%
Free
2
Developer 2
Rating
(9)
Projects
12
25%
Arbitration
0
Overdue
1
8%
Free
3
Developer 3
Rating
(39)
Projects
65
34%
Arbitration
4
25% / 50%
Overdue
9
14%
Working
4
Developer 4
Rating
(51)
Projects
67
60%
Arbitration
5
0% / 80%
Overdue
5
7%
Working
Published: 1 article
5
Developer 5
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
6
Developer 6
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
7
Developer 7
Rating
(294)
Projects
470
39%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes
8
Developer 8
Rating
(77)
Projects
241
73%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
9
Developer 9
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
10
Developer 10
Rating
(261)
Projects
276
55%
Arbitration
0
Overdue
5
2%
Free
11
Developer 11
Rating
(462)
Projects
483
75%
Arbitration
5
80% / 0%
Overdue
0
Working

Project information

Budget
30+ USD