I try to run my AFL code for a certain symbol and tried to set this via the SETFOREIGN command, but failed. Does anyone have an idea how to change the symbod which is being used in debugging? Thank you very much for your support in advance.
We would need to see your code. (Don’t forget the code tags when posting)
I do have a couple of questions…
- Why set symbol using SETFOREIGN
- How is debugging different than normal run
If we see your code we might be able to help…
Debugger uses ACTIVE CHART symbol (i.e. currently selected symbol), so select desired symbol in the active CHART and the same will be used in the debugger.