Indicator to view the maximum and minimum value of the penultimate candle

MQL5 Indicators Scripts Forex

Specification

I need an indicator to visualize the maximum and minimum value of the penultimate candle on a chart in any period.
Problem:

It is not difficult to get the maximum and minimum price of the daily candle, but how to get the maximum and minimum value of the 8-hour candle? 4 hours? that's what I need,



Example: According to the chart time, you have the values of the penultimate candle, as the market is closed I have the last but tomorrow it will be the penultimate. Lines can be plotted to indicate the location of




Responded

1
Developer 1
Rating
(50)
Projects
51
8%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
3
Developer 3
Rating
(434)
Projects
640
53%
Arbitration
34
62% / 21%
Overdue
6
1%
Loaded
4
Developer 4
Rating
(11)
Projects
17
59%
Arbitration
2
0% / 100%
Overdue
2
12%
Free
5
Developer 5
Rating
(25)
Projects
36
14%
Arbitration
0
Overdue
2
6%
Free
Published: 8 codes
6
Developer 6
Rating
(6)
Projects
8
0%
Arbitration
8
13% / 88%
Overdue
0
Free
7
Developer 7
Rating
(3)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
10
Developer 10
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Vamos aprender a operar no mercado Forex vamos aprender vamos trabalhar no mercado Forex vamos temos tudo para dar certo só trabalho só com trabalho podemos fazer tudo para nossa vida

Project information

Budget
30 - 100 USD