Import data from CSV file, plot horizontal lines.

MQL4 전문가 스크립트

작업 종료됨

실행 시간 1 일
피고용인의 피드백
Great customer. Patient and easy to work with. Customer has programming background too, and it helps. Thank you.

명시

Given a csv file of variable length and variable columns:

A    B    ...n
1    4    7
2    5    8
3    6    9
.     .    .
n    n    n


For each column header, we want to plot its given values as horizontal lines. The CSV file is a copy of an orderbook and will be updated regularly, so reads should take place twice per second.

The inputs in the indicator or script window should be the following:

Variable Name (column name), Plot column values (ay/n checkbox), colour, line width, line style.



Where:
Variable Name (column name) = column header.
Plot/show column values (y/n checkbox) = whether or not to plot this column.
colour, line width, line style = standard, given separately for each column.


We should end up with:

Variable Name    Plot values (y/n)    colour    line width    line style.
A                      checked                red        1                 Dash           
B                      unchecked             na         na               na
...
n                      checked                black      2                 solid

You get the idea, hopefully.


The files will be in a folder ( order_reader ) that I will manually create in 'MetaQuotes\Terminal\Common\Files\order_reader', and each file will be named after the pair that the script is attached to. I.e if we attach the script to EUR_USD, it will look in the folder for EUR_USD.csv.

응답함

1
개발자 1
등급
(45)
프로젝트
59
14%
중재
31
26% / 52%
기한 초과
34
58%
무료
2
개발자 2
등급
(5)
프로젝트
7
29%
중재
1
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(6)
프로젝트
7
0%
중재
0
기한 초과
5
71%
무료
4
개발자 4
등급
(13)
프로젝트
20
15%
중재
2
50% / 50%
기한 초과
0
무료
게재됨: 1 코드

프로젝트 정보

예산
30+ USD
기한
에서 1  2 일