Trabajo finalizado
Tarea técnica
I have request of modifying 1 pre-made indicator as followings below.
Firstly, take a look at below images, please.
Values of A, B, C, D are from Next TF Res and Sup, not Cur Res and Sup.
This is not good pattern for Trend Up and Trend Down.
So,
we have to avoid this pattern.
In this case, there is no Trend Up and Trend Down.
Without ideal “Trend Up” and “Trend Down”, other
cases are will be Trend None.
So it will show values in data window as followings below.
v1 Cur TF Resistance 1.12345
v2
Cur TF Support 1.12345
v3 Next TF Resistance 1.12345
v4 Next TF Support 1.12345
v5
Trend Up 0.00000 ** new buffer
v6 Trend Dn 0.00000 ** new buffer
Values of A, B, C, D are from Next TF Res and Sup, not Cur Res and Sup.
This is a good pattern for Trend Up.
1.
A > C &&
2. B < D &&
3. AB length > CD length &&
4. AB slope < CD slope
Absolute
value of (A – B) < Absolute value of (C - D)
Then, it will show values in v5 and v6 in data window
v1 Cur TF Resistance 1.12345
v2 Cur TF
Support 1.12345
v3 Next TF Resistance 1.12345
v4 Next TF Support 1.12345
v5 Trend
Up 1.00000 ** new buffer
v6 Trend Dn 0.00000 ** new buffer
Values of A, B, C, D are from Next TF Res and Sup, not Cur Res and Sup.
1. A > C &&
2. B < D
&&
3. AB length < CD length &&
4. AB slope > CD slope
Absolute value of (A – B) > Absolute value of
(C-D)
Then, it will show values in v5 and v6 in data window
v1 Cur TF Resistance 1.12345
v2 Cur TF
Support 1.12345
v3 Next TF Resistance 1.12345
v4 Next TF Support 1.12345
v5 Trend
Up 0.00000 ** new buffer
v6 Trend Dn 1.00000 ** new buffer
For more details, take a look at my document attached, please.
Thanks,
David