Code CSV file to an existing indicator

MQL4 指标 脚本

工作已完成

执行时间2 天
客户反馈
Outstanding programmer with great communication, and able to understand the job well.

指定

Hi everyone,

I need a csv file log to be coded/added in my indicator, and to record in the following format:

Alert #,Indicator Name (TimeFrame), Asset, Alert Date/Time, Rate, Type, Expire Date/Time, Expiry Rate, W/L
001, OptionsHybridPro (M15), EURJPY, 2013.06.10 10:29:27, 130.767, PUT, 2013.06.10 11:00:00, 130.804, L

The csv file log will only record whenever my indicator sends out an alert.
The Expiry Date/Time and Rate should be recorded as end of the hour after the alert is send out.
example:
alert @ 2013.06.10 10:29:27, expiry time and rate: 2013.06.10 11:00:00 (as the strprice)
alert @ 2013.06.10 10:42:31, expiry time and rate: 2013.06.10 11:00:00 (as the strprice)
alert @ 2013.06.10 10:59:37, expiry time and rate: 2013.06.10 11:00:00 (as the strprice)
alert @ 2013.06.10 11:01:00, expiry time and rate: 2013.06.10 12:00:00 (as the strprice)

The W/L column will be determine by the following calculation:

Type (CALL) Expiry Rate - Execution Rate = W (returned positive number, else L)
Type (PUT) Expiry Rate - Execution Rate =  W (returned negative number, else L)

Lastly, the csv file name should be recorded as the current Date, and close the file at the end of the Day.
example: 20130613, create next log file name: 20130614

See attached indicator to be modified and a supplemental jpg file for understanding.

反馈

1
开发者 1
等级
(452)
项目
565
26%
仲裁
24
42% / 38%
逾期
85
15%
空闲
发布者: 6 代码
2
开发者 2
等级
(13)
项目
20
30%
仲裁
5
20% / 80%
逾期
5
25%
空闲
3
开发者 3
等级
(182)
项目
342
42%
仲裁
118
12% / 73%
逾期
104
30%
空闲
发布者: 4 代码
4
开发者 4
等级
(1235)
项目
2820
80%
仲裁
156
22% / 43%
逾期
487
17%
空闲
5
开发者 5
等级
(164)
项目
218
50%
仲裁
6
17% / 67%
逾期
11
5%
空闲

项目信息

预算
15 - 35 USD
截止日期
 1  2 天