Horizontal Line indicator - Custom

MQL4 지표 스크립트

작업 종료됨

실행 시간 2 일

명시

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

 

 

응답함

1
개발자 1
등급
(624)
프로젝트
981
47%
중재
32
38% / 34%
기한 초과
96
10%
작업중
게재됨: 6 코드
2
개발자 2
등급
(107)
프로젝트
149
36%
중재
29
3% / 55%
기한 초과
35
23%
무료
3
개발자 3
등급
(103)
프로젝트
205
41%
중재
17
29% / 71%
기한 초과
45
22%
무료
4
개발자 4
등급
(1156)
프로젝트
1462
63%
중재
21
57% / 10%
기한 초과
43
3%
무료
5
개발자 5
등급
(772)
프로젝트
1039
44%
중재
50
8% / 50%
기한 초과
116
11%
무료
6
개발자 6
등급
(312)
프로젝트
521
47%
중재
29
10% / 45%
기한 초과
139
27%
작업중
7
개발자 7
등급
(803)
프로젝트
1123
43%
중재
47
49% / 23%
기한 초과
84
7%
무료
8
개발자 8
등급
(41)
프로젝트
72
8%
중재
18
11% / 56%
기한 초과
18
25%
무료
9
개발자 9
등급
프로젝트
1
0%
중재
0
기한 초과
1
100%
무료

프로젝트 정보

예산
10 - 30 USD
기한
에서 1  7 일