Florent:
I have a service running fine, let's say on EURUSD. If I need, I can use the right click on the service and choose "Add".
I change the parameter to GBPJPY then this new service. Fine.
Is there any instruction that can be put in script, EA,... where I can simulate this "Add" function?
I have a service running fine, let's say on EURUSD. If I need, I can use the right click on the service and choose "Add".
I change the parameter to GBPJPY then this new service. Fine.
Is there any instruction that can be put in script, EA,... where I can simulate this "Add" function?
AFAIK, currently there are no means to start/create services programmatically. There is also no standard (built-in) way of starting scripts and experts, but at least there is a workaround how to do this using tpl-files.
The only program type which can be started from MQL5 in designed way is indicator.
Stanislav Korotky #:
Thanks for the clarification, Stanislav.AFAIK, currently there are no means to start/create services programmatically. There is also no standard (built-in) way of starting scripts and experts, but at least there is a workaround how to do this using tpl-files.
The only program type which can be started from MQL5 in designed way is indicator.
Here's another approach : https://en.wikipedia.org/wiki/Windows_service
May be one day...service controler manager, manually and events.
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 have a service running fine, let's say on EURUSD. If I need, I can use the right click on the service and choose "Add".
I change the parameter to GBPJPY then this new service. Fine.
Is there any instruction that can be put in script, EA,... where I can simulate this "Add" function?
Thx