Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
Hello,
I have few requests of modifying 2 new indicators by using 2 pre-made indicators to work properly as I described here.
Firstly, take a look at below image, please.
This indicator works fine, but it has old language.
So, I hope you to update the language.
Below contents are for 2nd request.
Trend Up
1. Price_close <= Resistance on the 2nd previous candle
&&
2. Price_close > Resistance on the 1st previous candle
If “Trend Up” happened on the 1st previous candle, then it will show DeepSkyBlue colored bar sized as 1.0 at sub_window, and also it will show “v1 == 1.0” in data window on current candle.
And both DeepSkyBlue colored bar and “v1 == 1.0” will be displayed continuously on current candle till the conditions of “Trend None” satisfied on the 1st previous candle - ISM
Trend Down
1. Price_close >= Support on the 2nd previous candle
&&
2. Price_close < Support on the 1st previous candle
If “Trend Down” happened on the 1st previous candle, then it will show DeepPink colored bar sized as 1.0 at sub_window, and also it will show “v2 == -1.0” in data window on current candle.
And both DeepPink colored bar and “v2 == -1.0” will be displayed continuously on current candle till the conditions of “Trend None” satisfied on the 1st previous candle - ISM
Trend None ? 2 cases of Trend None for Trend Up / Down
Case 1 ? Trend None after Trend Up
1. v1 (Trend Up) == 1.0 on the 1st previous candle
&&
2. v1 of OIH_SupportResistance_v1.0 on the 2nd previous candle != v1 of
OIH_SupportResistance_v1.0 on the 1st previous candle (means that new Resistance happened on the 1st previous candle)
If “Trend None” happened after “Trend Up” on the 1st previous candle, then it will show DimGray colored bar sized as 1.0 at sub_window, and also it will show “v3 == 0.0” in data window on current candle.
And both DimGray colored bar and “v3 == 0.0” will be displayed continuously on current candle till the conditions of “Trend Up” or “Trend Down” satisfied on the 1st previous candle - ISM
Case 2 ? Trend None after Trend Down
1. v2 (Trend Down) == -1.0 on the 1st previous candle
&&
2. v2 of OIH_SupportResistance_v1.0 on the 2nd previous candle != v2 of
OIH_SupportResistance_v1.0 on the 1st previous candle (means that new Support happened on the 1st previous candle)
If “Trend None” happened after “Trend Down” on the 1st previous candle, then it will show DimGray colored bar sized as 1.0 at sub_window, and also it will show “v3 == 0.0” in data window on current candle.
And both DimGray colored bar and “v3 == 0.0” will be displayed continuously on current candle till the conditions of “Trend Up” or “Trend Down” satisfied on the 1st previous candle - ISM
Finally, there will be 3 buffers in data window as followings below.
v1 Trend UP == 1.0
v2 Trend Down == -1.0
v3 Trend None == 0.0
Below contents are for 3rd request.
Take a look at below image, please.
Have few requests for this indicator as followings below.
1. Remove v5 and v6 in parameter, and also in the code, please.
2. Fill the blanks with “0.00000” in data window, please.
3. Remove “Strict” and “DisplayAlerts” in parameter, please.
I don’t use “Strict” function, so I think it is not necessary.
4. Switch value of upper and lower line as followings below, please.
v1 Upper Line
Currently, it is for value of DodgerBlue line, change it for Red line, please.
Finally, v1 Upper Line will be for Red line.
v2 Lower Line
Currently, it is for value of Red line, change it for DodgerBlue line, please.
Finally, v2 Lower Line will be for DodgerBlue line.
For more details, take a look at my attached document, please.
Thanks in advance,
David