Welcome to PineHook
Connect TradingView alerts to MetaTrader 5 in milliseconds, with queuing, deduplication, and automatic failover built in.
What is PineHook?#
PineHook is a signal relay that connects TradingView alerts to your MetaTrader 5 terminal via WebSocket. Signals are authenticated, deduplicated, and delivered in 50–250ms on average.
If your EA disconnects briefly, signals are queued and delivered when it reconnects. If a server goes down, your EA automatically reconnects to a healthy node. Signal delivery is designed to be reliable under real network conditions, not just ideal ones.
TradingView → MetaTrader 5, in milliseconds
Signals are authenticated, deduplicated, and delivered in 50–250ms on average. Built to hold up under real network conditions.
50–250ms Delivery
Average end-to-end latency of 50–250ms via persistent WebSocket. Signals are pushed to your EA the moment they arrive. No polling, no queued delays.
99.9% Uptime
Multiple load-balanced servers with automatic failover. If a node goes down, your EA reconnects to a healthy one in seconds with no data loss and no manual intervention.
Multi-Layer Security
Six security layers: license key auth, secret key EA protection, signal-level passwords, TLS encryption, input validation, and deduplication. Releases go through automated and manual testing before deployment.
Flexible Signal Format
CSV and JSON formats with customizable risk, SL/TP, and 29 signal commands. Works with both hedging and netting accounts.
Straightforward Pricing
Plans start at $29.99/month. Every plan includes more signal capacity than live trading ever uses, full feature access, and no per-signal charges. Standard gives you 1 license, Pro gives you 3, Premium gives you 10.
Get Started in 4 Steps
Create Account
Sign up and get your license key
Install EA
Download the MT5 EA
Configure Alert
Set up your TradingView alerts
Start Trading
Signals execute automatically
TradingView → MetaTrader 5, in milliseconds
Signals are authenticated, deduplicated, and delivered in 50–250ms on average. Built to hold up under real network conditions.
Signal Flow: TradingView Alert → PineHook Cloud → Your MT5 → Trade Executed (Average latency: 50–250ms)
Key Features:
- 50–250ms Delivery — Average end-to-end latency of 50–250ms via persistent WebSocket. Signals are pushed to your EA the moment they arrive. No polling, no queued delays.
- 99.9% Uptime — Multiple load-balanced servers with automatic failover. If a node goes down, your EA reconnects to a healthy one in seconds with no data loss and no manual intervention.
- Multi-Layer Security — Six security layers: license key auth, secret key EA protection, signal-level passwords, TLS encryption, input validation, and deduplication. Releases go through automated and manual testing before deployment.
- Flexible Signal Format — CSV and JSON formats with customizable risk, SL/TP, and 29 signal commands. Works with both hedging and netting accounts.
- Straightforward Pricing — Plans start at $29.99/month. Every plan includes more signal capacity than live trading ever uses, full feature access, and no per-signal charges. Standard gives you 1 license, Pro gives you 3, Premium gives you 10.
Get Started in 4 Steps:
- Create Account – Sign up and get your license key
- Install EA – Download the MT5 EA
- Configure Alert – Set up your TradingView alerts
- Start Trading – Signals execute automatically
Example Signals#
PineHook supports CSV and JSON formats. Both work identically.
Limit Order with SL/TP
Open a buy limit position on EURUSD with stop loss and take profit
LICENSE_KEY,buylimit,EURUSD,price=1.0850,size_lots=0.1,sl_pips=50,tp_pips=100Close Short Position
Close all short positions on GBPUSD
LICENSE_KEY,closeshort,GBPUSDAll formats work identically. PineHook automatically detects whether you're sending CSV or JSON (minified or formatted); use whichever format you prefer.
Example 1: Limit Order with SL/TP
Open a buy limit position on EURUSD with stop loss and take profit
CSV Format:
LICENSE_KEY,buylimit,EURUSD,price=1.0850,size_lots=0.1,sl_pips=50,tp_pips=100JSON (minified):
{"license":"LICENSE_KEY","action":"buylimit","symbol":"EURUSD","price":1.0850,"size_lots":0.1,"sl_pips":50,"tp_pips":100}JSON (formatted):
{
"license": "LICENSE_KEY",
"action": "buylimit",
"symbol": "EURUSD",
"price": 1.0850,
"size_lots": 0.1,
"sl_pips": 50,
"tp_pips": 100
}Example 2: Close Short Position
Close all short positions on GBPUSD
CSV Format:
LICENSE_KEY,closeshort,GBPUSDJSON (minified):
{"license":"LICENSE_KEY","action":"closeshort","symbol":"GBPUSD"}JSON (formatted):
{
"license": "LICENSE_KEY",
"action": "closeshort",
"symbol": "GBPUSD"
}All formats work identically. PineHook automatically detects whether you're sending CSV or JSON (minified or formatted) - use whichever format you prefer.
Get Started#
Head to the Installation Guide to set up PineHook in under 10 minutes.