• 概述
  • 评论
  • 评论
  • 新特性

Calendar File Converter

Calendar File Converter

This script adapts the csv economic calendar file downloaded from the myfxbook.com portal for use by the Economic Calendar Viewer indicator. This indicator displays on the MT4 chart data about the upcoming current economic event and displays its data. It also notifies you with a sound before the upcoming event time.
The read file should be named: - calendar_statement.csv
The temporary intermediate file is named: - calendar_statement2.csv
The output file is named: - Calendar-MM-DD-YYYY.csv
(MM is month 05, DD is day 12, YYYY is year 2020)
To convert the downloaded calendar_statement.csv file, place it in the Common \\ File directory and put the script on the chart, that's all. The generated file named Calendar-MM-DD-YYYY.csv will be ready for reading by Economic Calendar Reader 2020 at the Common \\ File director.
The default settings are the Common \\ File directory for the original, intermediate and output files. These directories can be changed and named freely. remember to write two backslashes at the end of the directory name, for example: Source \\.
The output file is saved in the format below and separated by commas. It also has individual column headers. Here is an example.
Date, Time, Currency, Country, Description, Impact, Previous, Consensus, Actual
04/17 / 2020.00: 00, EUR, Netherlands, Liberation Day, None ,,,
04/17 / 2020.11: 00, EUR, Germany, ZEW study - economic mood, High, -49.50, -43.0, -50.0
04/17 / 2020.11: 30, EUR, USA, Consumer Price Index (YoY), Medium, 0.7%, 0.7%, 0.7%
04/17 / 2020.12: 00, EUR, Germany, Production Goods Price Index (YoY), Low, -0.1%, 0.2%, 0.1%
The original and temporary file are deleted after conversion but you can change it in the script settings and leave them in the directory.
推荐产品
筛选:
无评论
版本 8.0 2020.09.20
Calendar File Converter ver. 8.0

Made some correction of file reading.
版本 7.0 2020.08.23
Calendar File Converter ver. 7.0

Last correction for better reading original "economical calendar file" file.
版本 6.0 2020.08.19
Calendar File Converter ver. 6.0

Correction of reading original file. If during the week The Economic Calendar Viewer does not read data it means there is still need to open original file and remove this character ";" by hand. it causes a failer of conversion by Calendar File Converter.
版本 5.0 2020.08.17
Calendar File Converter ver. 5.0

Correcting missing event description display.
版本 4.0 2020.08.17
Calendar File Converter ver. 4.0

Changed to be beter ajusted to original data file reading.
版本 3.0 2020.06.08
Version 3.0
Was added protection before writing empty record row at the end of file.
版本 2.0 2020.05.07
Version 2.0

The new version has been cleared of bugs. And please refer to the source file calendar_statement.csv because it may contain errors as this week there was an additional column in one line and you need to correct it yourself by opening this file in any notebook or csved application. And ordering all the poems so that they are in the same order as in the pattern given in the description.
Date, Time, Currency, Country, Description, Impact, Previous, Consensus, Actual
04/17/2020,00:00,EUR, Netherlands, Liberation Day, None ,,,
04/17/2020,11:00,EUR, Germany, ZEW study - economic mood, High, -49.50, -43.0, -50.0