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 天