whenever i run a expert advisor,my ea is automatically attached with usd_chf. how to restrict it?

 

my mt4 terminal is in eur usd, but when I compile and run ea, it is opening usd_chf and my programming is attached to it. how can I restrict it?

my coding: attached

Automated Trading and Strategy Testing
Automated Trading and Strategy Testing
  • www.mql5.com
MQL5: language of trade strategies built-in the MetaTrader 5 Trading Platform, allows writing your own trading robots, technical indicators, scripts and libraries of functions
Files:
 
bnirmalsingh:

my mt4 terminal is in eur usd, but when I compile and run ea, it is opening usd_chf and my programming is attached to it. how can I restrict it?

my coding: attached

In the Metaeditor, open Tools->Options->Debug

There you can select the default chart for the debugger.

 
Drazen Penic:

In the Metaeditor, open Tools->Options->Debug

There you can select the default chart for the debugger.

thank you so much Mr.Drazen Penic, I have fixed it accordingly.