Code CSV file to an existing indicator

MQL4 Göstergeler Komut dosyaları

İş tamamlandı

Tamamlanma süresi: 2 gün
Müşteri tarafından geri bildirim
Outstanding programmer with great communication, and able to understand the job well.

İş Gereklilikleri

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(452)
Projeler
565
26%
Arabuluculuk
24
42% / 38%
Süresi dolmuş
85
15%
Serbest
Yayınlandı: 6 kod
2
Geliştirici 2
Derecelendirme
(13)
Projeler
20
30%
Arabuluculuk
5
20% / 80%
Süresi dolmuş
5
25%
Serbest
3
Geliştirici 3
Derecelendirme
(182)
Projeler
342
42%
Arabuluculuk
118
12% / 73%
Süresi dolmuş
104
30%
Serbest
Yayınlandı: 4 kod
4
Geliştirici 4
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
487
17%
Serbest
5
Geliştirici 5
Derecelendirme
(164)
Projeler
218
50%
Arabuluculuk
6
17% / 67%
Süresi dolmuş
11
5%
Serbest

Proje bilgisi

Bütçe
15 - 35 USD
Son teslim tarihi
from 1 to 2 gün