Horizontal Line indicator - Custom

MQL4 Indicateurs Scripts

Tâche terminée

Temps d'exécution 2 jours

Spécifications

Requiring a custom indicator that paints a horizontal line for every candle close(in any timeframe) - have the option to show/hide in different timeframe for the lines drawn by the custom indicator!

 Requirement:

Upon candle close:

 - calculate that candle's [HIGH-LOW]/2 === VALUE X

 - calculate the range of [CLOSE-OPEN OR OPEN-CLOSE] depending on long/short candle ===== RANGE Y

IF(For that candle that just closed)

 VALUE X is within(OR equals) RANGE Y, then DRAW Horizontal Line with VALUE = X (make sure there is option for color selection for the line)

 ELSE

Do not draw that line.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 More complex criteria to add to the above:

there must be a validation check on existing horizontal lines drawn to "delete" itself IF the value of such lines falls within RANGE Y of new candle closed.

The existing line drawn can still stay if stays outside the range of RANGE Y, and create a "spike" on support/resistance

 

 

Répondu

1
Développeur 1
Évaluation
(626)
Projets
986
47%
Arbitrage
33
36% / 36%
En retard
98
10%
Chargé
Publié : 6 codes
2
Développeur 2
Évaluation
(107)
Projets
149
36%
Arbitrage
29
3% / 55%
En retard
35
23%
Gratuit
3
Développeur 3
Évaluation
(103)
Projets
205
41%
Arbitrage
17
29% / 71%
En retard
45
22%
Gratuit
4
Développeur 4
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
5
Développeur 5
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
6
Développeur 6
Évaluation
(312)
Projets
521
47%
Arbitrage
29
10% / 45%
En retard
139
27%
Travail
7
Développeur 7
Évaluation
(806)
Projets
1126
43%
Arbitrage
47
49% / 23%
En retard
84
7%
Gratuit
8
Développeur 8
Évaluation
(41)
Projets
72
8%
Arbitrage
18
11% / 56%
En retard
18
25%
Gratuit
9
Développeur 9
Évaluation
Projets
1
0%
Arbitrage
0
En retard
1
100%
Gratuit

Informations sur le projet

Budget
10 - 30 USD
Délais
de 1 à 7 jour(s)