How to show MACD to another currency pair ?

 

Hi all, i would like to show MACD on another Currency pair,but i meet some problem when i try to do it.

For example,please see the below pic,the current pair is EURUSD,and the MACD is belong to EURGBP,apparently the MACD is wrong.



But if i change the currency pair to EURGBP, the MACD looks good.

Anybody can help me on it ?what's wrong when i attach MACD to different pair ?

Files:
macdtest.mq4  3 kb