Testing script on debug mode (MT5) changes symbol

 

Hi, I am testing a script (MT5) on real time debug mode on GBPUSD.

This is the only pair on the chart and the only one I want to test.

Strangely, when I start the debug process in real time (green button on edtor) it suddenly opens EURUSD chart and moves the

script to work on it. (???)

The script does not call for opening any chart and does not specifiy any symbol.

(Other than Symbol() or _Symbol to read from current chart which I set to be GBPUSD )

I suspect there must be some template bahind the scenes or something else I am missing.

Any advise very much appreciated.

 
You can set the symbol for debugging in the editor.

Tools -> Options -> Debug

 

Yes indeed. Thank you so much for your quick answer.

Appreciated.

C

 
Dominik Christian Egert #:
You can set the symbol for debugging in the editor.

Tools -> Options -> Debug

  Hi, I checked Tools->Options-> Debug and made sure there are no Symbols there.

 I unchecked "Use specifed settings" just in case.

When I run the Debug-> Start on Real Data on MT4 again it opens a tab with EURUSD and debugger

works with it.

I want the real time debugger to work with whatever symbol is on the chart, not sure why is now

bringing as a default EURUSD....