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 struggling, due to a lack of VPS resources (it takes the Expert more than 500 ms to collect 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
VPS24 p.s. If a small FXmonitor script (its code is ten times smaller than that of a trading Expert, and it runs on a single chart) takes more than half a second, how do trading Experts perform? Trading Experts just don't tell you they are struggling ... FXmonitor glows yellow when it is short of resources, but developers of trading Experts do not necessarily pay attention to this. So a trading Expert may want to open or close a trade but manage to do it only tens of seconds or even minutes later ... Or it may freeze ... Sometimes, such a delay can be expensive.