Moving average with external variable for different instruments

 
Good evening, since 2 weeks I can not change settings on a simple indicator like a moving average. I'm trying to create a moving average that launched (example) on Gold, but draw me one MA calculated on a second chart (example) EurUsd . Indicated in the external variables.
Who can help me ? Thank you
Reason: