Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
Hello fellow mql4 coders,
A) I need an MT4 indicator plotting support and resistance horizontal lines for 21 EUR, GBP, AUD, NZD, CAD, CHF, JPY pairs based on my 7 USD pairs support and resistance hozizontal lines.
B) I explain better. If I manually decide that the two main support and resistance horizontal lines for the 7 USD pairs I follow are:
Seven USD pairs:
EURUSD S1 1.20 - R1 1.30
GBPUSD S2 1.50 - R2 1.60
AUDUSD S3 0.85 - R3 0.90
NZDUSD S4 0.75 - R4 0.80
USDCAD S5 1.10 - R5 1.20
USDCHF S6 0.95 - R6 1.00
USDJPY S7 110 - R7 120
then the two main support and resistance horizontal lines for the 21 EUR, GBP, AUD, NZD, CAD, CHF, JPY pairs I monitor will automatically be:
Twenty-one EUR, GBP, AUD, NZD, CAD, CHF, JPY pairs:
EURGBP S8 0.80 - R8 0.8125 (S8=S1/S2 - R8=R1/R2)
EURAUD S9 1.41 - R9 1.44 (S9=S1/S3 - R9=R1/R3)
EURNZD S10 1.60 - R10 1.625 (S10=S1/S4 - R10=R1/R4)
EURCAD S11 1.32 - R11 1.56 (S11=S1*S5 - R11=R1*R5)
EURCHF S12 1.14 - R12 1.30 (S12=S1*S6 - R12=R1*R6)
EURJPY S13 132 - R13 156 (S13=S1*S7 - R13=R1*R7)
And so on for GBPAUD, GBPNZD, GBPCAD, GBPCHF, GBPJPY, AUDNZD, AUDCAD, AUDCHF, AUDJPY, NZDCAD, NZDCHF, NZDJPY, CADCHF, CADJPY, CHFJPY. There are 21 pairs in total I need their S&R to monitor (28 EUR, GBP, AUD, NZD, CAD, CHF, JPY less the 7 USD followed pairs).
C) I need to be able to manually move the support and resistance horizontal lines on the 7 USD charts, and that it automatically change their value on the 21 EUR, GBP, AUD, NZD, CAD, CHF, JPY charts.
D) I need to be able to change the colors of the horizontal lines for any chart.
Do not hesitate to ask for additional information if unclear.
Good work!