Arrrgh - and thanks, I should have known this!

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
Is there a tricky way for a class to get the program-name which is calling/using/instantiating this class.
If I use __FILE__ I get the filename of the class - which is useful too of course - but not the the name of the running EA or indicator or script?