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
評価
(564)
プロジェクト
933
47%
仲裁
302
59% / 25%
期限切れ
125
13%
取り込み中
2
開発者 2
評価
(731)
プロジェクト
1052
40%
仲裁
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 日