Script to convert OHLC to tick

MQL4 스크립트

작업 종료됨

실행 시간 1 일
고객의 피드백
Mehrdad is an excellent programmer, Will do business again!!!

명시


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.

응답함

1
개발자 1
등급
(328)
프로젝트
538
66%
중재
53
21% / 40%
기한 초과
169
31%
무료
게재됨: 1 코드
2
개발자 2
등급
(195)
프로젝트
395
28%
중재
155
20% / 52%
기한 초과
112
28%
무료
3
개발자 3
등급
(221)
프로젝트
369
66%
중재
10
50% / 0%
기한 초과
46
12%
무료

프로젝트 정보

예산
10 - 30 USD
기한
에서 1  7 일