MetaTrader 5 - data store into csv file

MQL5 脚本 积分

工作已完成

执行时间3 天

指定

I need a script to record automatically, via a play button, into a csv file the prices of a product. I need to actually apply the script to every product I want and it must record the prices changes with 1 minute or 30 sec frequency.

It must create into the csv a table recording

  • date:hour:minute:seconds buy price, sell price, spot price
I would like to have the play and stop button in the future graph to start recording or stop recording prices into the file.

The csv file can have as name "20-11-2016 futurename prices.csv". If stop and play are executed within the same day, in different hours, it should append values into the pre-existing file of the day. If the day is new and no previous file were created (no previous records), then a new file must be created. 

 

 

 

反馈

1
开发者 1
等级
(590)
项目
789
71%
仲裁
9
33% / 33%
逾期
22
3%
空闲
发布者: 8 代码
2
开发者 2
等级
(253)
项目
358
49%
仲裁
24
25% / 50%
逾期
80
22%
空闲
3
开发者 3
等级
(68)
项目
78
27%
仲裁
13
31% / 62%
逾期
15
19%
空闲
发布者: 4 代码
4
开发者 4
等级
(54)
项目
64
42%
仲裁
5
20% / 60%
逾期
4
6%
空闲
发布者: 1 代码
5
开发者 5
等级
(49)
项目
134
27%
仲裁
62
13% / 53%
逾期
58
43%
空闲
发布者: 283 文章, 1 代码

项目信息

预算
50 - 100 USD