I try to control my Robot signal activities from MQL4 expert program.
I want to turn it on and off according to account equity.
The closest command I found was "TerminalClose" command.
Does anything like this exist?
Thanks in advance.
Sorry, I didn't clarify myself good enough, what I meant is to stop a Robot that I use in my account from the "Trading signals with Automatic Execution on your account" service.
Thanks in advance.
Sorry, I didn't clarify myself good enough, what I meant is to stop a Robot that I use in my account from the "Trading signals with Automatic Execution on your account" service.
Thanks in advance.
do you mean the AUTOTRADE to be disabled ???
Sorry, it's still a bit unclear what you're asking. Do you mean you want to stop a signal service from taking more trades when you reach a certain equity DD?
Hi Stuart,
Thanks,
Yes thats exactly what I mean
Hi Stuart,
Thanks,
Yes thats exactly what I mean
Well, I've never played with the signal properties in code before but I would probably look at the ENUM_SIGNAL_INFO_INTEGER property SIGNAL_INFO_SUBSCRIPTION_ENABLED. I'd play with it on a demo first as it MAY cancel the subscription (there's not much about signal info in the documentation).
Well, I've never played with the signal properties in code before but I would probably look at the ENUM_SIGNAL_INFO_INTEGER property SIGNAL_INFO_SUBSCRIPTION_ENABLED. I'd play with it on a demo first as it MAY cancel the subscription (there's not much about signal info in the documentation).
thanks,
I will try it
thanks,
I will try it
Most Advanced
good
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I try to control my Robot signal activities from MQL4 expert program.
I want to turn it on and off according to account equity.
The closest command I found was "TerminalClose" command.
Does anything like this exist?
Thanks in advance.