The correctness of the work of trading robots and monitoring FXmonitor directly depends on the operation of the MetaTrader terminal. Therefore, it is important to understand whether the terminal has enough computer resources (VPS) on which it is installed.
Everyone has different versions of MetaTrader (builds from different brokers), different currency pairs (which constantly update their quotes) may be available, everyone has a different number of open charts with different Expert Advisors and indicators. As a result, it turns out that the load on VPS resources is different for everyone, as well as different resource limits are provided by different VPS providers.
The FXmonitor Expert has a built-in module for measuring time in milliseconds, during which a script to collect and send data is executed. Based on these indicators, you can understand if the MetaTrader terminal has enough resources. For convenience, all labels and the name FXmonitor in the MetaTrader terminal are highlighted in different colors depending on the state: 📗 Green - everything is fine, there are enough resources, monitoring is working properly
📒 Yellow - monitoring works, but it is very difficult for him, due to a lack of VPS resources (it takes more than 500 ms to get an adviser and send data). Therefore, it may intermittently send data; as a result, monitoring may not work properly or often send notifications about the loss of communication with the terminal.
📕 Red - error updating data. An error is written at the top. Most often, this is an invalid or unspecified Fxmonitor key.
📓 Black and white is the Log mode (it is enabled in the advisor settings). In this mode, every moment of sending data is displayed and recorded in the log. The values of PT are written - this is the time in milliseconds that the Expert spent on collecting data and ST is the time it took to send the data. Indications are floating depending on the load on the MetaTrader. ☝️ Stable operation - PT and ST: up to 500 ms.
⏱ In addition, in the monitoring itself at the bottom of each account, next to the version of the FXmonitor advisor, the time in ms is indicated in brackets, during which the adviser collects and sends data to monitoring (PT+ST). 👉 If you installed the
latest Expert update, and in your terminal FXmonitor is displayed mainly in yellow, I recommend:
1. Reboot the MetaTrader terminal
2. Optimize the load on MetaTrader (you can search on the Internet what methods exist)
3. Upgrade the VPS plan so that more resources are provided.
4. Distribute the terminals to different VPS and not keep more than two MetaTrader copies on the same server.
5. Change the VPS provider, for example, to the
Forex-box p.s. If it takes more than half a second to spend a small script FXmonitor (the code is ten times smaller than that of a trading adviser and installed only one pair), what indicators will trading advisors have? It's just that trading advisers don't tell you that it's not good ... FXmonitor has learned to glow yellow if it works wildly uncomfortably. But not the fact that the developers of trading advisers also pay attention to this. Therefore, it may well be that the trading adviser can and wants to open or close a deal, but he manages to do this only after a few tens of seconds or minutes ... Or maybe freezes ... Sometimes, such a delay can be expensive.