工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Send info to Excel
The function will be launched when the EA initialized, it has to create a file Excel. (for example “EAname - activationreport.xlsx”, EAname is a parameter which recognize the filename of the running EA).
If the file Excel already exists, the function will only write into this file.
Columns of the file Excel should be the following and should be placed from the B2 cell and so on:
· Name of the file (for example “EAname.ex4”)
· Date (date - dd/mm/yy)
· Hour (date - hh:mm) 24h format
· Symbol (text - EURUSDp)
· TimeFrame (text – H4)
· all the extern variables of the running EA
The task of the function is to write into the first available row the current values of these variables.
The function will be launched when an EA is initialized and deinitialized, in order to keep track of the lanched EA.
The path where the Excel file will be saved has to be configurable and defined through a specific parameter. For testing purpose, the default path value has to be terminal_data_folder\MQL4\Files\.
Alert mail
I also need a little function which notify through an email the same data that are printed on the excel file.
The mail addresses should be configurable through a parameter and allows multiple addresses.