As far as I know, there is no programmatic way in MQL, to determine the current profile. It may be possible using the Windows API, but I don't believe it is possible in pure MQL.
In fact, I don't think one can even determine what template was applied, if any.
Fernando Carreiro #:
Thank you. I have put a text box on the main chart so I can check.
As far as I know, there is no programmatic way in MQL, to determine the current profile. It may be possible using the Windows API, but I don't believe it is possible in pure MQL.
In fact, I don't think one can even determine what template was applied, if any.
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
Hi All,
I pride myself on finding answers to my problems as I learn MQL5. I have however, been stumped by this one. I just need the name of the currently active profile. A search returns Current.Profile() but I cant find any reference to it nor does it work in the editor.
The reason I am looking for this is so I can open different files dependant on Profile.
tia