It's simple really.
1. Put MetatraderToExcel.mqh in your include folder
2. Put test dll.mq4 in your experts folder
3. Put the dll contained in the zip file in your libraries folder (the libraries folder under your MQL4 directory).
4. Review the test dll.mq4 file.
There are 3 "put" functions and 3 "get" functions. Each with 3 overloads. The overloads are on how you want to address each cell.
The 2 inputs that are used is:
1. Where is the excel file you're going to be writing to
2. Where do you want to write any errors the DLL generates to
Some notes:
1. You need the full version of the .Net framework 4.6 installed (https://www.microsoft.com/en-us/down....aspx?id=48137)
2. When you run the "Start" function, it will open a new instance of Excel and a new instance of your file if it isn't already open.
Source code for the DLL can be found here: https://github.com/Nondisclosure/MT4toExcel
Have fun!
1. Put MetatraderToExcel.mqh in your include folder
2. Put test dll.mq4 in your experts folder
3. Put the dll contained in the zip file in your libraries folder (the libraries folder under your MQL4 directory).
4. Review the test dll.mq4 file.
There are 3 "put" functions and 3 "get" functions. Each with 3 overloads. The overloads are on how you want to address each cell.
The 2 inputs that are used is:
1. Where is the excel file you're going to be writing to
2. Where do you want to write any errors the DLL generates to
Some notes:
1. You need the full version of the .Net framework 4.6 installed (https://www.microsoft.com/en-us/down....aspx?id=48137)
2. When you run the "Start" function, it will open a new instance of Excel and a new instance of your file if it isn't already open.
Source code for the DLL can be found here: https://github.com/Nondisclosure/MT4toExcel
Have fun!
Attached File(s)
MetatraderToExcel.mqh
9 KB
|
2,602 downloads
test dll.mq4
3 KB
|
2,419 downloads
MetatraderToExcel.zip
6 KB
|
2,815 downloads