Horizonal Line Script

MQL4 Indicadores Sripts

Trabajo finalizado

Plazo de ejecución 15 días

Tarea técnica

I wish to commission the following (probably a script):

1. It will parse data from a .txt file saved in a user-defined location  (initial version will be ok to read from MT4's 'File' folder).

2. The text file is in the following comma-separated format: symbol,price,type,linestyle

For example:

EURUSD,1.234,1,1
EURUSD,1.254,1,2
EURUSD,1.323,2,2
EURUSD,1.123,2,3
EURUSD,1.243,2,1
GBPJPY,123.234,1,2
GBPJPY,122.244,2,2

Where:

- The first column is the symbol. 
- The second column is a price. 
- The third column will is a nominal variable being either 1 or 2. This is used to determine the colour of the line.
- The fourth column is a nominal variable being either 1,2 or 3. This is used to determine the style of the line.

3. The script/indicator, when attached to a chart, will read only data that is relevant to the chart symbol. So, if attached to the EURUSD chart, it will use only data whose first column is 'EURUSD'.

4. It will draw a horizontal line at each price level appearing in the second column. Therefore, if using the data above, it would draw 5 horizontal lines at 1.234, 1.254, 1.323, 1.123 and 1.243.

5. The colour of the lines would be determined by the data in the third column (type). Colours should be customisable by the user, but for example could mean that the lines 1.234 and 1.254 are blue (if 1=blue), and 1.323, 1.123 and 1.243 are red (if 2=red).

6. The style of the lines would be determined by the data in the fourth column. Again this should be customisable, but for example the following could be produced:

1.234, Blue (1), Solid line (1)
1.254, Blue (1), Dash line (2)
1.323, Red (2), Dash line (2)
1.123, Red (2), Dotted line (3)
1.243, Red (2), Solid line (1)

if 1=Solid line style, 2=Dashed line style and 3=Dotted line style.

7. When loaded onto a chart all existing horizontal lines on the chart should be removed.

8. The user should be able to set to true/false whether each line colour and/ or type is or is not shown. For example, they should be able to tell the script/indicator to draw only Blue (1) Dash lines (2), or set to 'false' lines of type 3 (i.e no dotted lines would be drawn).

9. Finally, it should be possible for the user to set an alarm alert when price moves within x pips of the horizontal line. Ideally, this alert should be any or all of: (1) audible, (2) visual and/or (3) a push alert via MT4.

Please ask any questions.

Han respondido

1
Desarrollador 1
Evaluación
(1928)
Proyectos
3548
88%
Arbitraje
73
40% / 15%
Caducado
268
8%
Libre
2
Desarrollador 2
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
3
Desarrollador 3
Evaluación
(54)
Proyectos
164
43%
Arbitraje
43
47% / 16%
Caducado
58
35%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(14)
Proyectos
22
27%
Arbitraje
24
13% / 79%
Caducado
6
27%
Libre
5
Desarrollador 5
Evaluación
(452)
Proyectos
565
26%
Arbitraje
24
42% / 38%
Caducado
85
15%
Libre
Ha publicado: 6 ejemplos
6
Desarrollador 6
Evaluación
(34)
Proyectos
80
34%
Arbitraje
13
31% / 54%
Caducado
19
24%
Libre

Información sobre el proyecto

Presupuesto
30 USD
Plazo límite de ejecución
de 3 a 5 día(s)