Andre Mannott: Is the there a solution for this or do I have to manipulate the text itself in myconfiguration.ini?
Obviously, you have to manipulate the text itself.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I want to automate testing a lot of expert advisers located in one folder. For that I neet to change sttings in "myconfiguration.ini" for each run. Within e.g. a Powershell script I want to start Metatrader with:
.\terminal64.exe /portable /config:myconfiguration.ini
...in myconfiguration.ini I tried to use global variables, but ist does not work:
e.g.
$env:_symbol="EURUSD" or
$global:_expert="expert.ex5" (within the script)
and...
[Tester]
Expert= $global:_expert
Symbol=$env:_symbol
... (within myconfiguration.ini)
Is the there a solution for this or do I have to manipulate the text itself in myconfiguration.ini?