Job finished
Specification
Hello,
I have few requests of modifying 1 pre-made indicator to work properly as I described here
Firstly, take a look at below image, please.
As you can see, there are 3 buffers in data window.
Current buffers
PriceChannelZigZag
v2
v3
I have request of modifying current buffers as followings below.
Future buffers
v1 is for Common Top ** It is common Top value whatever it is Normal or Strong value.
v2 is for Common Bottom ** It is common Top value whatever it is Normal or Strong value.
v3 is for Common Top ISM ** It is common Top value by ISM whatever it is Normal or
Strong value.
v4 is for Common Bottom ISM ** It is common Top value by ISM whatever it is Normal or
Strong value.
v5 is for Normal Top ** It is normal top value when the top value is normal.
v6 is for Normal Bottom ** It is normal bottom value when the bottom value is normal.
v7 is for Normal Top ISM ** It is normal top value by ISM when the top value is normal.
v8 is for Normal Bottom ISM ** It is normal top value by ISM when the top value is normal.
v9 is for Strong Top ** It is strong top value when the top value is strong.
v10 is for Strong Bottom ** It is strong bottom value when the bottom value is strong.
v11 is for Strong Top ISM ** It is strong top value by ISM when the top value is strong.
v12 is for Strong Bottom ISM ** It is strong top value by ISM when the top value is strong.
For more details of the calculations of “Normal” and “Strong”, take a look at below image, please.
New indicator will have 12 buffers in data window as likely as below.
v1 is for Common Top
v2 is for Common Bottom
v3 is for Common Top ISM
v4 is for Common Bottom ISM
v5 is for Normal Top
v6 is for Normal Bottom
v7 is for Normal Top ISM
v8 is for Normal Bottom ISM
v9 is for Strong Top
v10 is for Strong Bottom
v11 is for Strong Top ISM
v12 is for Strong Bottom ISM
Common buffers (v1 ~ v4) will be always shown in data window whatever the value is Normal or Strong.
Here, v1 and v2 is just values when Top / Bottom value happened.
If v1 (Common Top) happened, then v3 (Common Top ISM) will have numerical value at the same time.
And v3 (Common Top ISM) will be shown continuously till v4 (Common Bottom ISM) happened.
And also, v2 (Common Bottom) and v4 (Common Bottom ISM) will have “0.00000” in data window in this moment.
There are buffers (v5 ~ v8) for Normal.
Here, “Normal” means that “left value < right value”.
As you can see, there is Normal case in attached “image of OIH_PriceChannelZigZag_v1.0_RAW 03”.
There is “11 / 28” at top in attached image.
Left value (11) is less than right value (28), so it will show numerical value (1.12345) in below buffers.
v1 Common Top 1.12345
v2 Common Bottom 0.00000
v3 Common Top ISM 1.12345
v4 Common Bottom ISM 0.00000
v5 Normal Top 1.12345
v6 Normal Bottom 0.00000
v7 Normal Top ISM 1.12345
v8 Normal Bottom ISM 0.00000
v9 Strong Top 0.00000
v10 Strong Bottom 0.00000
v11 Strong Top ISM 0.00000
v12 Strong Bottom ISM 0.00000
And there is another example for Normal Bottom.
There is “6 / 28” at bottom in attached image.
Left value (6) is less than right value (28), so it will show numerical value (1.12345) in below buffers.
v1 Common Top 0.00000
v2 Common Bottom 1.12345
v3 Common Top ISM 0.00000
v4 Common Bottom ISM 1.12345
v5 Normal Top 0.00000
v6 Normal Bottom 1.12345
v7 Normal Top ISM 0.00000
v8 Normal Bottom ISM 1.12345
v9 Strong Top 0.00000
v10 Strong Bottom 0.00000
v11 Strong Top ISM 0.00000
v12 Strong Bottom ISM 0.00000
In this time, I will explain about “Strong” calculation.
There is “30 / 28” at top in attached image.
Left value (30) is greater than or equals to right value (28), so it will show numerical value (1.12345) in below buffers.
v1 Common Top 1.12345
v2 Common Bottom 0.00000
v3 Common Top ISM 1.12345
v4 Common Bottom ISM 0.00000
v5 Normal Top 0.00000
v6 Normal Bottom 0.00000
v7 Normal Top ISM 0.00000
v8 Normal Bottom ISM 0.00000
v9 Strong Top 1.12345
v10 Strong Bottom 0.00000
v11 Strong Top ISM 1.12345
v12 Strong Bottom ISM 0.00000
And there is another example for Strong Bottom.
There is “44 / 28” at bottom in attached image.
Left value (44) is greater than or equals to right value (28), so it will show numerical value (1.12345) in below buffers.
v1 Common Top 0.00000
v2 Common Bottom 1.12345
v3 Common Top ISM 0.00000
v4 Common Bottom ISM 1.12345
v5 Normal Top 0.00000
v6 Normal Bottom 0.00000
v7 Normal Top ISM 0.00000
v8 Normal Bottom ISM 0.00000
v9 Strong Top 0.00000
v10 Strong Bottom 1.12345
v11 Strong Top ISM 0.00000
v12 Strong Bottom ISM 1.12345
As you can see, there are “0 error(s)” and 5 warning(s)” in the tab.
I hope that there are no errors and warnings.
Selectable option in parameter to display ZigZag lines and text on chart or not
I need above selectable option in parameter because this new indicator will be used in a system.
The default setting is False.
For more details, take a look at my attached document, please.
Thanks in advance,
David