Set an script to the GBPUSD chart



I have the following question:

I am trying to run a custom script I did for MT4, but when I ran it always get executed with the USDCHF main chart, how can I unattach from that USDCHF chart and attach my script to the GBPUSD chart window I want to run on????

Thank you!

  1. Why did you post your MT4 question in the MT5 General section instead of the MQL4 section, (bottom of the Root page)?
              General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
    Next time, post in the correct place. The moderators will likely move this thread there soon.

  2. You run a script by dragging it to the chart you want to run it on.