Script in mql5 to translate yahoo finance stock data into compatible data for mt5

MQL5 스크립트

작업 종료됨

실행 시간 1 시간
고객의 피드백
Very good work! As requested, thanks!
피고용인의 피드백
Thank you, Marco! Glad to work with you again!

명시

I need a simple script in mql5, which must take data from an CSV file in -> MetaTrader 5\HISTORY -> downloaded by me from yahoo finance website, so must edit the data and print another CSV file, with compatible data for the MT5 platform.

More precisely the necessary changes are:

- Removing the first row

- Remove Adj Close column

- replace the "-" (hyphen) of the date with a "." (point)

- Add the time culumn with 00:00 as default value, after the date

- Replace the separator from "," (comma) to Tab

- then print a csv with the -> original name + "correct"

Additional features

- I need to be able to select the print date format ( dd.mm.yyyy or yyyy.mm.dd or mm.dd.yyyy )  in external settings

- i need to be able to select the print culumn time  in external settings

- i need to be able to write the name of the file to be changed in external settings


the source code mq5 must be included in the work

The work must be done in a single mq5 file without dll


I am attaching the example of an original yahoo file, "AAPL eng Yahoo format" and the fixed file "APPL" correct as the script should do

파일:

CSV
AAPL.csv
644.1 Kb

응답함

1
개발자 1
등급
(192)
프로젝트
232
30%
중재
1
100% / 0%
기한 초과
9
4%
무료
게재됨: 2 코드
2
개발자 2
등급
(12)
프로젝트
12
25%
중재
1
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(14)
프로젝트
19
11%
중재
1
0% / 100%
기한 초과
5
26%
무료

프로젝트 정보

예산
30+ USD