Code CSV file to an existing indicator

MQL4 Indicatori Script

Lavoro terminato

Tempo di esecuzione 2 giorni
Feedback del cliente
Outstanding programmer with great communication, and able to understand the job well.

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(452)
Progetti
565
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
Gratuito
Pubblicati: 6 codici
2
Sviluppatore 2
Valutazioni
(13)
Progetti
20
30%
Arbitraggio
5
20% / 80%
In ritardo
5
25%
Gratuito
3
Sviluppatore 3
Valutazioni
(182)
Progetti
342
42%
Arbitraggio
118
12% / 73%
In ritardo
104
30%
Gratuito
Pubblicati: 4 codici
4
Sviluppatore 4
Valutazioni
(1235)
Progetti
2820
80%
Arbitraggio
156
22% / 43%
In ritardo
487
17%
Gratuito
5
Sviluppatore 5
Valutazioni
(164)
Progetti
218
50%
Arbitraggio
6
17% / 67%
In ritardo
11
5%
Gratuito

Informazioni sul progetto

Budget
15 - 35 USD
Scadenze
da 1 a 2 giorno(i)