Code CSV file to an existing indicator

MQL4 Indicadores Sripts

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
Outstanding programmer with great communication, and able to understand the job well.

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(452)
Proyectos
565
26%
Arbitraje
24
42% / 38%
Caducado
85
15%
Trabaja
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(13)
Proyectos
20
30%
Arbitraje
5
20% / 80%
Caducado
5
25%
Libre
3
Desarrollador 3
Evaluación
(182)
Proyectos
342
42%
Arbitraje
118
12% / 73%
Caducado
104
30%
Libre
Ha publicado: 4 ejemplos
4
Desarrollador 4
Evaluación
(1235)
Proyectos
2820
80%
Arbitraje
156
22% / 43%
Caducado
487
17%
Libre
5
Desarrollador 5
Evaluación
(164)
Proyectos
218
50%
Arbitraje
6
17% / 67%
Caducado
11
5%
Libre

Información sobre el proyecto

Presupuesto
15 - 35 USD
Plazo límite de ejecución
de 1 a 2 día(s)