# Pinebridge

Pinebridge is a self-hosted bridge that forwards TradingView strategy alerts to MetaTrader 5 on your own server. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/6773/pinebridge

## Description

Pinebridge is a self-hosted bridge that forwards TradingView strategy alerts to MetaTrader 5 on your own server. It receives TradingView webhook alerts and passes them over ZeroMQ to the Expert Advisor in the companion pinebridge-mt5 container, which places the trades automatically. It is aimed at traders who want to avoid a paid signal-relay service or a VPS. It executes real trades with no manual confirmation, so review the risk notice and test on a demo account first.

## Platform availability

Available on 1 of 6 install platforms: Unraid.

## Health score

44/100 (Fair), based on 3 of 4 factors.
- Maintained: 77 (last commit 4 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/pinebridge-bridge-0hiu4s30s7uxvr?q=pinebridge-bridge
- GitHub: https://github.com/jakeshake/pinebridge

## Common questions

### How do TradingView alerts reach Pinebridge if I do not want to open router ports?

TradingView posts the alert to a webhook URL that is carried to your server through a Cloudflare Tunnel or your own HTTPS reverse proxy.

### Does Pinebridge wait for manual confirmation before placing trades?

No. It places real trades automatically with no human confirmation, so the docs say to test on a demo account first.

### How do I install Pinebridge on Unraid?

Add the templates with a single terminal command, then install both the bridge and the pinebridge-mt5 containers from Docker > Add Container.

### What ports are available for the dashboard and MetaTrader 5?

The dashboard is on port 8081 and is intended for your LAN only. MetaTrader 5 can be watched and controlled from a browser on port 8006.

### How does Pinebridge handle position closing on US FIFO accounts?

The Expert Advisor uses oldest-first closing for US FIFO accounts.

---
Source: Our Local Host (https://ourlocalhost.com/app/6773/pinebridge), the self-hosted and open-source app directory.
