#import "MT4API.ex4" string GetCurrentProfileName(); #import //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { printf("Current profile name is : %s",GetCurrentProfileName()); }
Files:
mt4api.ex4
6 kb
Do you have the code for the above GetCurrentProfileName() script?
Where does the mt4api.ex4 come from? or do you have the associated mq4?
Many Thanks
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've been Googling for a while, but can't turn anything up.
Is there a way to retrieve the currently active profile name in code?
lastprofile.ini contains, unsurprisingly, the last profile name, not the current one.
Thanks