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
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
暇
2
開発者 2
評価
(807)
プロジェクト
1127
43%
仲裁
47
49% / 23%
期限切れ
84
7%
暇
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
締め切り
最低 1 最高 2 日