Is it possible somehowe to identify what instrumnet the script is running on in the code?
My idea is to have one script running on for example on both DAX and FTSE (or 5 more indexes) but with different parameters. If there woule be a “constant” for example INSTRUMENT I could to this:
1
2
3
4
5
6
ifINSTRUMENT="DAX"then
param1=45
endif
ifINSTRUMNET="FTSE"then
param1=50
endif
Now I have to duplicate the script for every instrument I want to use it on. It is allot of work to update all copies of the script if I make improvements on it.