|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (3) | Thread Tools | Display Modes |
|
||||
|
MT4 Report v.3 & template file
Copy !Report_v3.mq4 to Experts\scripts directory.
report.zip contains report.htm template. Copy report.htm to Templates directory. There are 2 pathes in the body of !Report_v3.mq4: Code:
#define template "[ROOT]\\templates\\report.htm" #define report "[ROOT]\\experts\\files\\[ACCOUNT_NUM]rep.htm" report is an output file. Automatically the script will replace [ROOT] and [ACCOUNT_NUM] sections by MT4 root path and account number.
__________________
MQL4: idea * experience + creative solution Last edited by RickD : 08-10-2006 at 02:43 AM. |
|
||||
|
Traders can change:
1. Template and output pathes. 2. Compare function. 3. Validate function. At present Compare function sorts all the orders by CloseTime. Validate function is the filter of closed orders.
__________________
MQL4: idea * experience + creative solution |
|
||||
|
Report uses the following Win API functions:
Code:
#import "shell32.dll" int ShellExecuteA(int hWnd, int lpVerb, string lpFile, int lpParameters, string lpDirectory, int nCmdShow); #import "kernel32.dll" int GetModuleFileNameA(int hModule, int& buf[], int len); int _lcreat(string path, int attr); int _lopen(string path, int mode); int _lclose(int hFile); int _llseek(int hFile, int offset, int origin); int _lread(int hFile, int buf[], int len); int _lwrite(int hFile, string buf, int len); #import
__________________
MQL4: idea * experience + creative solution |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tools-utilities/3220-mt4-report-v-3-template-file.html
|
|||
| Posted By | For | Type | Date |
| Detailed Statement in MT4 | This thread | Refback | 02-09-2008 12:30 AM |
| Detailed Statement in MT4 | This thread | Refback | 07-10-2007 02:47 AM |
| Detailed Statement in MT4 @ Forex Factory | This thread | Refback | 06-23-2007 03:23 AM |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SPLIT in report | afernandes | Expert Advisors - Metatrader 4 | 2 | 02-20-2007 12:22 PM |