hello all respected mql programmers
i have three profiles in my terminal with three different forex systems..i want to change profile on specific time for example i have profile following name abc,def,ghi . now i want automaticaly change profile after every 2 mins .please guide me how i acheive this.waiting your kind response
You need to use WinApi DLL call to do that, not possible with mql4 only.
hello all respected mql programmers
i have three profiles in my terminal with three different forex systems..i want to change profile on specific time for example i have profile following name abc,def,ghi . now i want automaticaly change profile after every 2 mins .please guide me how i acheive this.waiting your kind response
Save your profile#1 to template "abc.tpl", profile#2 to template "def.tpl", profile#n to template "xyz.tpl".
Then, write an EA or script, using Timer event and ChartOpen/ChartApplyTemplate/ChartClose to apply each profile every 2 mins.
BTW, in curent MT4 terminal (Build 926), the Timer event is unstable, it often stop response. For MT5, it is fine.
Save your profile#1 to template "abc.tpl", profile#2 to template "def.tpl", profile#n to template "xyz.tpl".
Then, write an EA or script, using Timer event and ChartOpen/ChartApplyTemplate/ChartClose to apply each profile every 2 mins.
BTW, in curent MT4 terminal (Build 926), the Timer event is unstable, it often stop response. For MT5, it is fine.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hello all respected mql programmers
i have three profiles in my terminal with three different forex systems..i want to change profile on specific time for example i have profile following name abc,def,ghi . now i want automaticaly change profile after every 2 mins .please guide me how i acheive this.waiting your kind response