I share a trick: using Xvfb to run MT4 without visible graphical environment. So the performance goes up a bit and you can even automate process restarts if you hang up.
I share a trick: using Xvfb to run MT4 without visible graphical environment. So the performance goes up a bit and you can even automate process restarts if you hang up.
Great, I was just looking for something like that. I�m sick of relying on third-party services. I prefer to have my own system, even with solutions like this.
What about the power consumption? Have you measured how many watts that Pi consumes compared to an old laptop on all day?
Very low. It is always between 4-6W. It is the closest thing to an ecological VPS. If you manage to make it stable, the long-term savings is brutal.
I join the experiment. I have a Pi 400 lying around. If I get it to work with my Scalping EA, I share it around here. Thank you for the inspiration.
After months of trial and error, I managed that MT4 would run in an acceptable way in a Raspberry Pi 4 using box86 with Wine and Raspbian Lite. The trick is to avoid complete emulation of x86_64 and use versions of MT4 that do not depend on heavy visual components. Installing Xvfb to run MT4 in "headless" mode was essential to free up system resources. It is also essential to use a DSS connected by USB 3.0, since SD cards quickly deteriorate and its speed is insufficient for processes such as constant logging of the terminal. Another key point was the temperature control. The Raspberry Pi tend to heat up under prolonged load, so installing a decent dissipator and a small fan was part of the process. I used cpufrequtils to limit the use of CPU to a more conservative mode when there are no open operations. This keeps the system stable, avoids unexpected shutdowns and prolongs the life of the hardware, which in a 24/7 environment is vital. To maintain the connection, I also connected the Pi via Ethernet directly to the router.
Thank you for the contribution, this was just what I needed. I�m going to try this weekend.
I thought it was impossible. Thank you for sharing!