SaveDealsHistory
Exports the data on trades for the specified period to a .csv file. The period is specified in the parameters in hours and days to make it convenient to export the data both for a year and for the past trading session, which lasted a few hours.
Input Parameters:
- hours - the numbers of hours of saved history
- days - the numbers of days of saved history
The periods in days and hours are added.
The script save more data than the standard MT5 tools, which expands the capabilities of the analysis. The following information is saved as columns in the file:
- Ticket - trade identifier (int)
- OpenTime - trade opening date-time (datetime)
- Symbol - symbol name (string)
- Type - trade type (0-buy,1-sell)
- Entry - direction (0-enter, 1-exit the trade)
- Lots - volume (double)
- OpenPrice - trade opening price (double)
- Commission - commission size in deposit currency (double)
- Profit - trade result (double)
- Comment - comment (string)
delimiters between the columns: ";" and "t" (tab) are output together
The data is saved to a file with the name like "DealsHistory_acc1007066_2016.01.28.csv", where "acc1007066" - account number, "2016.01.28" - saving date.
The file is placed to the "<terminal_folder>MQL5Files" folder
联系方式
公司:顺水的鱼外汇EA
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com