Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
Hello,
I have 2 requests of modifying 2 pre-made indicators to work properly as I described here
Firstly, take a look at below image, please.
A ? There is upper mark 4, but there is also upper mark 2.
B ? There is lower mark 2.
C ? There is upper mark 2.
D ? There is lower mark 3, but there is also lower mark 2.
Now, current indicators use below values likely as below.
But it should use values likely as below to show upper mark 2 in section A
As you can see, v1, v2, v3 and v4 are only used to calculate.
In section B, it should use values likely as below to show lower mark 2.
As you can see, v1, v2, v3 and v4 are only used to calculate.
In section C, it should use values likely as below to show upper mark 2.
As you can see, v1, v2, v3 and v4 are only used to calculate.
In section D, it should use values likely as below to show lower mark 2.
As you can see, v1, v2, v3 and v4 are only used to calculate.
And change 2018 (year) with 2019 in the copyright, please.
This indicator already all buffers (8 buffers) to show upper / lower mark 4.
So, there is no work to do, but just change the name, please.
And change 2018 (year) with 2019 in the copyright, please.
Below contents are for 2nd request.
Like new 2 indicators of OIH_ZigZagSemaphore_TDMark2 _v1.0” and
OIH_ZigZagSemaphore_TDMark4 _v1.0”, make new 2 indicators, please.
Firstly, take a look at below image, please.
For new indicator, we will use only v1 and v2 in data window.
A - There is upper mark 3, but also there is upper mark 1.
B - There is lower mark 3, but also there is lower mark 1.
C - There is upper mark 4, but also there is upper mark 1.
D - There is lower mark 2, but also there is lower mark 1.
If we check only v1 and v2, then we can have upper / lower mark 1 in section A, B, C and D.
With above values (v1 and v2) in data window, it means there is lower mark 1 (circled dot 1 below candle).
If this lower mark 1 happened on current candle, then it will show DeepSkyBlue colored bar sized as 1.0 at sub_window, and it will show v9 (Trend Up) == 1.00000 in data window.
And this value will be shown continuously till v1 (Upper ZigZag 0) has numerical value ? ISM.
If this upper mark 1 happened on current candle, then it will show DeepPink colored bar sized as 1.0 at sub_window, and it will show v10 (Trend Dn) == -1.00000 in data window.
Finally, new indicator will have only 2 buffers likely as v1 (Trend Up) and v2 (Trend Down) in data window.
And it needs to have all basic buffers in data window likely as below.
Hope it to have “MaxBars” in parameter.
And the default setting is 500.
And change 2018 (year) with 2019 in the copyright, please.
Below is for new indicator for upper / lower mark 3.
For new indicator, we will use only v1, v2, v3, v4, v5 and v6 in data window.
A - There is upper mark 4, but also there is upper mark 3.
If we check only v1, 2, v3, v4, v5 and v6, then we can have upper / lower mark 3 in section A.
With above values (v1 ~ v6) in data window, it means there is lower mark 3 (circled dot 3 below candle).
If this lower mark 3 happened on current candle, then it will show DeepSkyBlue colored bar sized as 1.0 at sub_window, and it will show v1 (Trend Up) == 1.00000 in data window.
And this value will be shown continuously till v5 (Upper ZigZag 2) has numerical value ? ISM.
If this upper mark 3 happened on current candle, then it will show DeepPink colored bar sized as 1.0 at sub_window, and it will show v2 (Trend Dn) == -1.00000 in data window.
Finally, new indicator will have only 2 buffers likely as v1 (Trend Up) and v2 (Trend Down) in data window.
Hope it to have “MaxBars” in parameter.
And the default setting is 500.
And change 2018 (year) with 2019 in the copyright, please.
For more details, take a look at my attached document, please.
Thanks in advance,
David