Get_last1M_of_day in bad data for backtesting

MQL4 Experts Other

Job finished

Execution time 4 days
Feedback from customer
Well done!
Feedback from employee
Perfect , its good to work with him.

Specification

I have to handle with old data which is not 100% clean (german DAX index). Usually trading time is from 8am to 10pm, but in the old data sometimes the trading ends at 5:35 pm, sometimes at 20 pm...

I need a method inside EA in order to know, which Minute of the day is the last one of the day. For this purpose i don't know any function in MQ4. Perhaps you know one. However there is also a possibility to look simply in the csv file (i have exported all data into a 1 Minute ohlc-csv-file).

The function should be called max once per day in order to reduce time for backtesting. For real trading i don't need this function, because the last minute is well known.

Responded

1
Developer 1
Rating
(16)
Projects
39
69%
Arbitration
2
0% / 50%
Overdue
1
3%
Free
2
Developer 2
Rating
(29)
Projects
49
22%
Arbitration
14
29% / 21%
Overdue
13
27%
Free
3
Developer 3
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
4
Developer 4
Rating
(64)
Projects
144
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Working
Similar orders
Hi All, I am looking for forex trading profitable strategies as i want to do manual trading. I f anyone interested in sharing please let me know. After testing only i will make the payment otherwise no. Regards

Project information

Budget
20+ USD