Script to convert OHLC to tick

MQL4 Script

Lavoro terminato

Tempo di esecuzione 1 giorno
Feedback del cliente
Mehrdad is an excellent programmer, Will do business again!!!

Specifiche


I would like a script to drop on chart, like renkotocsv,  that outputs the following into tick format as in the example
I can use a small boxsize for more accurate backtesting


This format:

date,time,O,H,L,C,  volume

2016.09.12,18:31,102.010,102.017,102.000,102.000,  204
 


---------->  will give 4 ticks in this format


datetime,bid,ask,volume


2016.09.12 18:31:00.001,102.010,ask,volume          Open

2016.09.12 18:31:00.002,102.000,ask,volume   //////  If the close is lower then open  then low first then high

2016.09.12 18:31:00.003,102.017,ask,volume   /////

2016.09.12 18:31:00.004,102.000,ask,volume          Close



ask = bid + extern Spread
volume = volume / 4   rounded up to nearest whole,  with 1 lowest



If the next bar is the same time  18:31 , continue the pattern 18:31:00.005  ,  so checking previous.

The script will convert the ohlc history into a " tick"  data file.

Con risposta

1
Sviluppatore 1
Valutazioni
(328)
Progetti
538
66%
Arbitraggio
53
21% / 40%
In ritardo
169
31%
Gratuito
Pubblicati: 1 codice
2
Sviluppatore 2
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
3
Sviluppatore 3
Valutazioni
(221)
Progetti
369
66%
Arbitraggio
10
50% / 0%
In ritardo
46
12%
Gratuito

Informazioni sul progetto

Budget
10 - 30 USD
Scadenze
da 1 a 7 giorno(i)