Import data from CSV file, plot horizontal lines.

MQL4 Experts Scripts

Job finished

Execution time 1 day
Feedback from employee
Great customer. Patient and easy to work with. Customer has programming background too, and it helps. Thank you.

Specification

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.

Responded

1
Developer 1
Rating
(45)
Projects
59
14%
Arbitration
31
26% / 52%
Overdue
34
58%
Free
2
Developer 2
Rating
(5)
Projects
7
29%
Arbitration
1
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(6)
Projects
7
0%
Arbitration
0
Overdue
5
71%
Free
4
Developer 4
Rating
(13)
Projects
20
15%
Arbitration
2
50% / 50%
Overdue
0
Free
Published: 1 code

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)