仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hello,
I have 1 request of modifying current indicator and the functions as I described here.
Now, current OIH_TMA_CG_Trend_v1.1 works fine, but the buffers and bars are shown in opposite way.
So, I request of changing the buffers and bars in right way as I describing here.
Using new indicator “OIH_TMA_CG_Trend_v1.1”, we can change the buffers and bars.
As you know well, in OIH_TMA_CG_v1.0 indicator, v4 is red colored “X” mark at bottom, and v5 is blue colored “X” mark at top.
Firstly, take a look at below image, please.
As you can see, current OIH_TMA_CG_Trend_v1.1 works fine, but I request of changing the buffers and bars as I desire.
Current indicator shows bars as followings below.
When v5 (Top Signal, blue “X”) happened on current candle, it shows v3 (Trend Down Signal) == -2.0 and v4 (Trend Down) == -1.0 on current candle.
After this top “X” happened, it shows continuously “v4 == -1.0” on current candle.
=> It shows “v1 (Trend Up Signal) == 2.0” and “v2 (Trend Up) == 1.0” on current candle.
After this top “X” happened, it shows continuously “v2 == 1.0” on current candle.
When v6 (Bottom Signal, red “X”) happened on current candle, it shows “v1 (Trend Up Signal) == 2.0” and “v2 (Trend Up) == 1.0” on current candle.
After this Bottom “X” happened, it shows continuously “v2 == 1.0” on current candle.
=> It shows “v3 (Trend Down Signal) == -2.0” and “v4 (Trend Down) == -1.0” on current candle.
After this bottom “X” happened, it shows continuously “v4 == -1.0” on current candle.
There will be 6 buffers in data window as followings below.
v1 Trend Up Signal 2.0
v2 Trend Up 1.0
v3 Trend Down Signal -2.0
v4 Trend Down -1.0
v5 Top Signal 1.12345 (value of v5 in previous indicator, blue colored “X”)
v6 Bottom Signal 1.12345 (value of v4 in previous indicator, red colored “X”)
For more details, take a look at my attached document, please.
Thanks in advance,
David