You want to use both PCs to speed up MetaTrader 5 (MT5) strategy optimization by harnessing the processing power of PC2 from PC1, both connected on the same local Wi-Fi network.
Unfortunately, MT5 does not natively support distributed or networked optimization across multiple computers like some specialized software do. Each MT5 installation performs optimization on its own machine and there isn't a built-in way to split one optimization task across two computers.
What you can do to improve optimization speed using both PCs:
Option 1: Run Parallel Optimizations Independently
- On PC1: Run optimization on one set of input parameters.
- On PC2: Run a different batch of input parameters optimization independently.
- When both finish, combine results manually.
This approach requires you to partition your optimization parameter ranges manually. For instance, if you optimize parameter A from 0 to 100:
- On PC1, optimize from 0 to 49.
- On PC2, optimize from 50 to 100.
This effectively splits the workload but is manual and needs synchronization.
Option 2: Use Remote Desktop or File Sharing (for setup convenience)
You can remotely control PC2 from PC1 using Remote Desktop or similar (like AnyDesk, TeamViewer) so you don't have to physically switch machines when starting or monitoring optimizations.
Also, share the MT5 data folders using Windows file sharing to easily move results between PCs.
Option 3: Use "Portable Mode" MT5 installations
If you want to avoid installation or user profile complications, run MT5 in portable mode on both machines to keep data organized and share strategies by copying the portable MT5 folder.
If you want true distributed optimization (network parallel processing):
- MT5 does not provide such a feature currently.
- There is no official built-in client-server or distributed optimization support.
- Some third-party or scripting solutions might attempt this, but they are complex and unofficial.
Summary:
| What you want | Possible? | Notes |
|---|
| Use PC2 power within PC1 MT5 optimizer | No | MT5 does not support parallelization over network. |
| Run optimization on both PCs concurrently | Yes | Manually split input parameters and run separately. |
| Merge results manually | Yes | Export and compare strategy reports/results. |
| Automate via scripts or 3rd party | Complex / No official support | Not recommended unless advanced scripting/automation. |
Steps for manual parallel optimization:
- Decide which input parameters to optimize.
- Split parameter ranges between PC1 and PC2.
- Run MT5 optimization on PC1 with first half of ranges.
- Run MT5 optimization on PC2 with second half.
- When done, export results (report files or optimization results).
- Compare and pick best strategies manually.
Optional: How to share files between PC1 and PC2 easily
- Enable Windows file sharing on one PC and map network drive on the other.
- Use Cloud storage (OneDrive, Google Drive) to sync optimization result files.
- Use USB drive to transfer files manually.
If you want detailed help on setting up file sharing or remote desktop to make this process smoother, just ask!