cyberglassed:
Hello folks,
I would like to know how to get by code the name of the current running script?
Thanks in advance, Cyberglassed.
Ok, I got it:
using the constant: __FILE__
:)

Documentation on MQL5: Standard Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
- www.mql5.com
Standard Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions - Documentation on MQL5
cyberglassed:
Hello folks,
I would like to know how to get by code the name of the current running script?
Thanks in advance, Cyberglassed.
MQL5InfoInteger(MQL5_PROGRAM_NAME);

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
Hello folks,
I would like to know how to get by code the name of the current running script?
Thanks in advance, Cyberglassed.