Need a simple End_Of_Day reporting Script

MQL4 Experts Scripts

Specification

Hi.

How i said need a simple script/ea which will put account data to txt (csv) file and upload it to ftp server on daily candle close.

Data I need to be put into the file are:
- Gain  (all history / previous month / current month)
- balance,
- equity,
- deposits,
- withdrawals,
- Total Lots traded (all history / previous month / current month)

In details, here is txt file I need uploaded daily on ftp:

$Gain = XXX; // all history gain
$PMGain = yyy; // previous month gain
$CMGain = zzz; // current month gain
$Balance = qqq; // current Balance
$Equity = ppp; // current Equity
$Deposits = sss; // Sum of deposits
$Withdrawals = fff; // Sum of Withdrawals
$Lots = ccc; // all history Lots traded (closed transaction)
$PMLots = vvv; // Previous month Lots traded(closed transaction)
$PMLots = nnn; // Current Month Lots traded (closed transaction)


Tomasz 

 

Responded

1
Developer 1
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
2
Developer 2
Rating
(54)
Projects
64
42%
Arbitration
5
20% / 60%
Overdue
4
6%
Free
Published: 1 code
3
Developer 3
Rating
(53)
Projects
74
26%
Arbitration
30
10% / 63%
Overdue
22
30%
Free
4
Developer 4
Rating
(39)
Projects
44
16%
Arbitration
1
100% / 0%
Overdue
7
16%
Free
5
Developer 5
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
8
Developer 8
Rating
(130)
Projects
210
40%
Arbitration
90
20% / 43%
Overdue
85
40%
Free
9
Developer 9
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 15%
Overdue
32
22%
Working

Project information

Budget