Indicators - amplitude of the latest X bars

MQL5 지표

명시


create two indicators with same logic but different visualizations

the logic is 
identify if the last bar has the highest or lowest amplitude compared to the latest X bars
amplitude can be ( open and close / high and low )
X is a input value, is the numbers of bars to compare (10 = ten bars back; 50 = fifty bars back)

visualization 1
if bar is the highest amplitude and is an up bar, then indicator is (1)
if bar is the highest amplitude and is a down bar, then indicator is (-1)

visualization 2
plot the indicator value

응답함

1
개발자 1
등급
(563)
프로젝트
932
47%
중재
302
59% / 25%
기한 초과
124
13%
바쁜
2
개발자 2
등급
(726)
프로젝트
1046
39%
중재
47
49% / 23%
기한 초과
84
8%
무료
3
개발자 3
등급
(11)
프로젝트
17
59%
중재
2
0% / 100%
기한 초과
2
12%
무료
4
개발자 4
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
5
개발자 5
등급
(38)
프로젝트
61
30%
중재
5
20% / 40%
기한 초과
0
무료
6
개발자 6
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
에서 1  2 일