I have a strange problem with MT4.
I received a hyperactivity warning today in my live account and don't understand where that is coming from.
I contacted the broker(ICMarkets) and they told me server messages are due to open/close of market and pending orders and stop modifications.
Alright, BUT I'm not using an EA that opens/closes or trails orders and I only used the MT4 built-in trailing stop with one trade today (XAUUSD).
Obviously this hyperactivity warning is an MT4 feature and not a broker's.
I have an indicator though, that generates a lot of log messages into the Expert log via the Print() function.
Can it be that these log messages are counted as server messages?
That would be the only explanation I could think of why I hit the limit of 3000 server messages today.
I only had 6 trades open and only one of them had a trailing stop.
That would be 5 x 4 (open, sl/tp, close) => 20
and then 2980 messages for the trailing XAUUSD trade :)
Besides, I should see then those trail messages in the log, but there certainly aren't that many.
Any ideas?
Thanks in advance
That issue has been discussed several times before in other threads in this Forum.
Generally, such messages are from the broker-dealer's MT4 trade server... and caused by a trailing stop that updates upon the arrival of every tick. Consider the large amount of ticks in say, an H1 bar, and then multiply that by 24. It doesn't take long to exceed your broker-dealer's limit of 3000.
The bottom line─you can't modify your pending orders, in any way, more than 3000 times per day with your broker-dealer.
That issue has been discussed several times before in other threads in this Forum.
Generally, such messages are from the broker-dealer's MT4 trade server... and caused by a trailing stop that updates upon the arrival of every tick. Consider the large amount of ticks in say, an H1 bar, and then multiply that by 24. It doesn't take long to exceed your broker-dealer's limit of 3000.
The bottom line─you can't modify your pending orders, in any way, more than 3000 times per day with your broker-dealer.
Yes, I understood that. So using Print() to log to the Expert log does not contribute to the number of server messages?! Right?!
every line and messages in journal tab only.
Hey Michael, thanks for your reply.
So all these messages in the journal tab, for instance, regarding unloading/loading of a template's indicators, when the timeframe is changed, are actually server messages? Ooops ... that definitely might contribute a lot to the number of server messages in my case.
So gotta watch that as well :)
thanks heaps
Hey Michael, thanks for your reply.
So all these messages in the journal tab, for instance, regarding unloading/loading of a template's indicators, when the timeframe is changed, are actually server messages? Ooops ... that definitely might contribute a lot to the number of server messages in my case.
So gotta watch that as well :)
thanks heaps
To be clear, broker-dealers generally don't have terms governing Journal entries. What they do have is a trade server ping tracking. Not everything that prints entries in the Journal tab/log pings the trade server.
Additionally, a former broker-dealer employee informed me that everything that prints to the Journal tab/log was visible to him─but also added that they all had better things to do than manually spy on Journal tab/log content.
Therefore, client-side Journal entries unrelated to order execution do not ping the trade server and should not affect the 3000 ping limit. To determine whether this is/is not your case, read the specific terms of your broker-dealer's trading agreement. This is generally something to do in advance of opening a trading account, but better late than never.
For whatever it's worth, I use an FX broker-dealer that has no limit on pending order modifications. Hopefully, you can find one too.
To be clear, broker-dealers generally don't have terms governing Journal entries. What they do have is a trade server ping tracking. Not everything that prints entries in the Journal tab/log pings the trade server.
Additionally, a former broker-dealer employee informed me that everything that prints to the Journal tab/log was visible to him─but also added that they all had better things to do than manually spy on Journal tab/log content.
Therefore, client-side Journal entries unrelated to order execution do not ping the trade server and should not affect the 3000 ping limit. To determine whether this is/is not your case, read the specific terms of your broker-dealer's trading agreement. This is generally something to do in advance of opening a trading account, but better late than never.
For whatever it's worth, I use an FX broker-dealer that has no limit on pending order modifications. Hopefully, you can find one too.
I actually talked to ICMarkets tech-support(!) and they were not able to tell me whether journal entries respectively Print() messages in the expert log were counted as server messages. :)
Their website info only mentions server messages as being open/close of market and pending orders, and sl/tp/trailing stop adjustments, and "not enough money".
Anyways, my questions have been answered, thanks again to all for your efforts.
- 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 have a strange problem with MT4.
I received a hyperactivity warning today in my live account and don't understand where that is coming from.
I contacted the broker(ICMarkets) and they told me server messages are due to open/close of market and pending orders and stop modifications.
Alright, BUT I'm not using an EA that opens/closes or trails orders and I only used the MT4 built-in trailing stop with one trade today (XAUUSD).
Obviously this hyperactivity warning is an MT4 feature and not a broker's.
I have an indicator though, that generates a lot of log messages into the Expert log via the Print() function.
Can it be that these log messages are counted as server messages?
That would be the only explanation I could think of why I hit the limit of 3000 server messages today.
I only had 6 trades open and only one of them had a trailing stop.
That would be 5 x 4 (open, sl/tp, close) => 20
and then 2980 messages for the trailing XAUUSD trade :)
Besides, I should see then those trail messages in the log, but there certainly aren't that many.
Any ideas?
Thanks in advance