Skip to content

Support running without a local MetaTrader 5 terminal (Linux/macOS/headless) #59

Description

@miguelangelo78

Summary

The bridge currently requires a local MetaTrader 5 terminal, which in practice requires running it on Windows only. Running it on Linux, macOS, or a headless server requires Wine or a Windows VM, which adds meaningful setup and operational overhead. Since the TradingView side is platform independent, the local terminal is the main thing tying the project to Windows.

Proposed solution

Add an optional execution backend that connects to a hosted MT5 API instead of a local terminal, selectable via configuration. It would be fully opt-in and additive:

  • The existing local-terminal path stays the default and is unchanged.
  • When the hosted backend is configured, execution (connect, place, close, positions) is routed through the API, so the bridge can run on any OS with no local terminal.
  • When it is not configured, behavior is identical to today.

This would let non-Windows and headless users run the bridge without Wine or a VM.

Willing to contribute

I am happy to implement this and open the PR, added as an optional path alongside the current backend so existing behavior is untouched. I would start with a small proof of concept (connect, plus place/close on a demo account) for review before building it out, and follow the project's existing conventions.

Disclosure

For transparency: I build and operate the hosted API (TickerAll, https://tickerall.com), so I have a commercial interest. It is a hosted API for MT5 accounts (market data, order placement and management) that removes the local-terminal requirement, and it would only be active when a user configures it with their own key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions