The TradingView to MT5 bridge that manages the whole trade.

Turn your TradingView alerts into a complete trading plan on MT5 with flexible order sizing, multiple profit targets, trailing stops, and breakeven. Manage positions across accounts from your dashboard and set risk limits for each strategy.

PineHook is independent of TradingView and MetaQuotes. Their names describe platform compatibility, not a partnership.

Get started without a credit card or ever sharing your broker credentials.

Every alert is checked before an order opens. Illustration with example values and accelerated time; explore the dashboard demo below.

Multi take profit, trailing stops, and breakeven from one alert

You write the exit plan into the alert itself. When it fires, your EA runs it from entry to close without anyone watching the chart.

  • Split one entry across up to ten take profits

    Each level closes a slice by percentage of the original volume or by exact lots. Your broker holds a safety stop and target at the deepest levels, so the position stays protected even if the EA stops responding.

    Multi-TP and SL reference

    Alert command

    LICENSE,buy,EURUSD,size_lots=4,tp1_pips=20,tp1_lots=1,tp2_pips=40,tp2_lots=1,tp3_pips=60,tp3_lots=1,tp4_pips=80,tp4_lots=1,sl1_pips=20,sl1_lots=2,sl2_pips=40,sl2_lots=2

    Buy 4 lots of EURUSD. Take profit on 1 lot at each of +20, +40, +60 and +80 pips from entry. The stops are set to close 2 lots at −20 pips and 2 lots at −40 pips, capped at the volume still open.
  • Trail the stop the way the strategy wants

    Follow price by a fixed pip distance, a percentage of the entry price, or an ATR multiple that widens when volatility picks up. The stop moves forward and never back while an optional trigger holds it off until the trade is in profit.

    Trailing stop reference

    Alert command

    LICENSE,buy,EURUSD,size_lots=0.1,distance_pips=20,trail_step=5

    Trail 20 pips behind price, moving the stop in 5-pip steps.
  • Move to breakeven and leave it alone

    Set a trigger distance and the EA moves your stop to entry once price travels that far in your favor, with an optional buffer to lock in a few pips. It fires once, then removes itself. Run it alongside a trailing stop and whichever fires first removes the other.

    Auto-breakeven reference

    Alert command

    LICENSE,buy,EURUSD,size_lots=0.1,sl_pips=20,tp_pips=100,be_trigger_pips=30,be_offset_pips=0.5

    At +30 pips, move the stop to entry plus 0.5 pip, or 5 ticks on five-decimal EURUSD. Buffer spacing is enlarged in the illustration.

Or step in by hand from the open positions screen.

enforced by the EA

Risk guardrails that your EA enforces on your own MT5 terminal

You choose which risk limits to enable and your EA monitors the account and enforces them on your MT5 terminal, even if its connection to PineHook drops. These controls work on personal and funded accounts, with settings you can adjust to your prop firm's rules.

  • Drawdown limit

    Set a maximum drawdown and choose how it is measured: reset each day, trailing behind your highest equity or your highest closed balance, static, or a percentage of your best account value. The EA blocks new entries the moment it is breached, or closes everything if you prefer. The check runs every second on your own terminal, includes floating P&L, and keeps working even if your connection drops.

    Drawdown protection reference
  • Active trading hours

    Block new entries outside your session and optionally close every position and pending order when it ends. Exits and trade management always run regardless of the clock, so you can leave a session without stranding an open position.

    Active hours reference
  • Spread caps

    Skip entries when the spread is wider than your limit, set in pips or as a percentage of price. A news spike or a thin session stops filling you at the worst possible price, and each alert can carry its own override for instruments that trade wider.

    Spread protection reference
  • Position caps

    Cap exposure per symbol and per strategy, in lots or as a percentage of equity, with separate long and short limits. You choose whether an oversized alert is rejected outright or capped down to the limit and executed at the reduced size.

    Position limits reference

Illustrative settings. Choose limits for your own account.

Running these on a funded account? See which prop firms allow an EA and how the limits map onto their rules.

Manage open positions from your browser

View positions across your accounts, edit stops and targets, and close a trade fully or partially from the dashboard.

Interactive demo with sample data. All actions are simulated.

Open positions dashboard preview

Monitor your positions

Follow each position’s volume, entry and current price, unrealized P&L, and stop and target levels in list or card view across your accounts.

Adjust or close a trade

Change stops and targets or close a position fully or partially, by percentage or lot amount, from your browser while the EA runs on your connected terminal. Open Positions guide.

TradingView to MT5 automation, feature by feature

Configure how orders are placed, sized, routed, and managed on each account.

Market and pending orders

Enter at market or place limit and stop orders when your strategy needs a specific entry price. Your TradingView alert carries the order instructions to MT5.

Cancel pending orders separately from closing open positions, with commands for long, short, or both sides. Choose the scope that matches the action your strategy needs. Order and cancellation commands.

Position sizing and risk

Specify a fixed lot size or calculate position size from a percentage of your account balance. Risk-based sizing uses the stop-loss distance to determine the volume.

Include a stop loss when using percentage risk so the EA has the information it needs to size the trade. Configure sizing alongside the broker’s volume requirements and your account limits. Position sizing parameters.

Broker symbol mapping

Keep TradingView’s instrument names in your alerts even when your broker uses EURUSD.micro, i.EURUSD, or DJ30 instead of US30. Configure prefixes, suffixes, or explicit renames per license.

Each account resolves the alert to its own broker’s symbol. Set the mapping once rather than maintaining different instrument names throughout your TradingView strategies. Symbol mapping guide.

Separate strategies on one account

Use distinct magic numbers to identify trades from different strategies on a hedging account, including strategies trading the same symbol.

Target close, modify, and cancel commands to one strategy with magic numbers or one logical trade with a PineHook ticket. Broader account controls remain available when you need them. Hedging, netting, and trade tickets.

Scheduled and delayed execution

Delay an alert before it is sent to your EA, or attach a timed close to a position. Build time-based actions into the alert instead of returning to the terminal to perform them manually.

Clear queued delayed alerts when your plan changes. The queue-clearing command is separate from cancelling pending orders already placed on MT5, so you can act on the right stage. Timing and queue commands.

Signal authentication and secret keys

Signal Authentication requires a password on every webhook alert. Missing or incorrect passwords are blocked, so a leaked license key alone cannot authorize trade instructions.

A Secret Key adds a second credential when your EA connects. Enable both protections to control which EAs connect and which alerts are accepted. Signal Authentication and Secret Keys.

You decide what happens to alerts sent while you are disconnected

If an MT5 terminal or cTrader connection disconnects briefly, PineHook records the affected alerts. You choose what happens next, and both modes are set in the trading settings.

Closures Only

Missed close alerts execute automatically to protect your open positions. Missed entry alerts are shown as notifications only. This prevents stuck positions from accumulating losses while you're disconnected.

Recommended default. Protects your capital without opening unexpected positions.

Expiry window

Set a window from 5 minutes to 1 hour, with 15 minutes as the default. Alerts older than your window are marked stale and skipped, so nothing ancient fires unexpectedly.

A record of every alert

Every alert is logged with its status and timing breakdown, keeping delivery, execution, transport, and broker fill separate so you can see where time was spent. Reading the alert log.

Automatic relay failover

Redundant relay servers provide automatic failover. If a node becomes unreachable, your EA reconnects to an available node and queued alerts follow your recovery settings. See the public uptime record.

Review your strategy's results in the dashboard

Follow your equity over time and compare results across instruments with trade history and risk metrics for each MT5 account.

Analytics dashboard scrolling through equity, results across eight instruments, P&L distribution, trading activity, drawdown, risk metrics, and recent trades using consistent sample data.

Sample account with 240 trades across eight instruments.

Compare instruments and trading activity

See which symbols contributed to your P&L, how gains and losses are distributed, and when trades were placed in the activity heatmap.

Put returns in context

Review win rate, profit factor, and drawdown alongside Sharpe, Sortino, and expectancy, then check the individual trades behind those figures.

How PineHook protects your trading data

Review how PineHook handles your trading data, authenticates alerts, and verifies EA downloads.

Encryption and signal authentication

TLS protects data in transit, and our database encrypts stored data at rest. PineHook processes account and alert data to operate the service. An optional secret key authenticates your EA connection, while a separate signal authentication password checks incoming alerts before they are processed.

How account access works

For MT5, your broker password stays on your terminal and the EA places orders there. For cTrader, you authorize access on cTrader’s site; PineHook stores encrypted tokens and uses them to submit trading requests through cTrader, without receiving your cTrader password.

Verified EA downloads

Every EA release has a published SHA-256 checksum on our public GitHub, independent of pinehook.io. The Downloads page retrieves that checksum from GitHub so you can compare it with the downloaded file before installation.

Privacy practices and data use

PineHook Systems Inc. was federally incorporated in Canada in 2026 and is based in Montreal, Quebec. We design our privacy practices around PIPEDA, Quebec's Law 25, and the EU's GDPR, with a published policy explaining what we collect, why we need it, and how we process it.

PIPEDALaw 25GDPR

Broker and prop-firm setup guides

Explore the brokers and prop firms covered in our setup guides. Check your account's platform and automation rules before connecting it.

  • FP Markets
  • Blue Guardian
  • FTMO
  • E8 Markets
  • BrightFunded
  • FundedNext
  • AMP Futures
  • Eightcap Challenges
  • The5ers
  • OANDA
  • FXIFY
  • IC Markets
  • AquaFunded
  • BlackBull Markets
  • Pepperstone

Firm and broker names identify third-party services, not PineHook partnerships or endorsements. Check each provider's current platform and automation rules before connecting an account.

Works with brokers & prop firms

On eligible MT5 and cTrader accounts

14 setup guides

Step-by-step guides for named brokers and prop firms

Keep your account

Connect the broker account you already use

Set up TradingView to MT5 automation

Connect your account and terminal, then configure the alerts your strategy will send.

  1. 1. Create your account

    Sign up, then choose MT5 or cTrader in the platform setup guide.

  2. 2. Connect a trading account

    Use the platform setup guide to install the MT5 EA or authorize a cTrader account.

  3. 3. Configure your TradingView alerts

    Add your license key and trade instructions to the alert message.

Illustrative flow and timing. See measured platform medians.

BUYEURUSD
TradingView alert received
Authenticated & validated
Delivered to EA
Trade executed
Sample 112ms

Buy with stop loss and take profit in pips

A1B2-C3D4-E5F6-7890,buy,EURUSD,size_lots=0.1,sl_pips=50,tp_pips=100

Both CSV and JSON formats supported. See the alert command reference or the full parameter list.

Questions about how the features work

The mechanics behind the trade management, in more detail than the feature cards allow.

How many take profit levels can one position have?⌄

Up to ten take profit levels and ten stop loss levels per position. Each level closes a slice, sized either as a percentage of the original volume or as fixed lots, though the two modes cannot be mixed on the same side. The EA watches price tick by tick and executes each partial close, while the broker holds a safety stop and target pinned to your deepest levels so the position is never unprotected if the EA stops responding. Every tier gets all ten levels, including the trial. Multi-TP and SL reference.

What happens to my take profit ladder if I add to the position?⌄

Percentage levels re-scale on their own. When the position grows or shrinks, whether from a manual add, a partial close, or a change that happened while the EA was offline, the levels that have not fired yet are re-split across the new remaining volume by their relative percentages. Levels that already fired stay exactly as they were. Fixed lot levels are the exception, because they keep their literal volumes and are only re-checked against the new position size. How re-splitting works.

Can I trail my stop from a TradingView alert?⌄

Yes, in three different ways. A trailing stop can follow price by a fixed number of pips, by a percentage of the entry price, or by a multiple of ATR that recalculates every tick, so the distance widens when volatility picks up and tightens when it settles. The stop moves forward and never back. A step size is optional and keeps the EA from flooding your broker with modification requests, which does mean the stop sits within one step of your configured distance rather than exactly on it. Trailing stop reference.

How does automatic breakeven work?⌄

You set a trigger distance on the alert that opens the trade. Once price has traveled that far in your favor, the EA moves the stop to your entry price, with an optional buffer on either side of it. It fires once and then removes itself. If a trailing stop is running on the same position, whichever one fires first removes the other, so the two never fight over the same stop level. Auto-breakeven reference.

Can I close part of a position from a webhook?⌄

Yes. A take profit ladder does it automatically at each level it reaches, and you can also scale out on demand: closelong and closeshort accept either a percentage of the original entry volume or an exact lot amount. Filter by symbol and magic number to select a strategy, or by PineHook ticket to select one logical trade. Because the percentage is measured against the original entry rather than what is left, two identical fifty percent closes exit the whole position. Close command reference.

How do I know an alert actually executed?⌄

Because your EA says so, not us. After executing the trade on MT5, the EA sends an acknowledgment back with the result, so an alert only shows as executed in the dashboard once your own terminal has confirmed it. Each row breaks the trip into separately timed stages, covering delivery, execution, and broker fill, and a failed execution records the broker's error message instead of a green checkmark. Alerts that never reached your EA stay visibly queued or expired, never silently dropped. Alert log guide.

Can PineHook enforce prop firm drawdown rules?⌄

Yes. Set a maximum drawdown percentage and choose how it is measured: reset at the end of each day, trailing behind your highest equity, trailing behind your highest closed balance, a static floor, or a percentage of your best account value. The EA blocks new entries the moment your equity falls that far below the level, floating losses included, or closes everything if you configure it that way. The check runs every second on your own terminal, so it keeps working even if your connection to us drops. In end-of-day mode trading resumes at the reset hour you chose and raising the limit mid-session will not unblock it, which stops the safety net from being overridden during a losing streak; the other modes have no reset, so their block holds until you change the drawdown settings. Active hours, spread caps, and per-symbol position caps work the same way: you set them, the EA enforces them locally. Risk management reference.

What is the difference between the two missed-alert recovery modes?⌄

Closures Only is the default, and it is the one we recommend, because a position left stuck open costs more than an entry you did not take. Missed close alerts execute when the EA reconnects, and missed entries arrive as notifications you can act on or ignore. Notify Only does what the name says and executes nothing at all. Either way, an alert older than your expiry window is skipped rather than replayed, and that window runs from five minutes to an hour with fifteen minutes as the default. Trading settings guide.

Does PineHook ever need my MT5 broker password?⌄

No, and the architecture is the reason. The Expert Advisor runs on your own terminal and opens an outbound connection to us, so orders are placed locally with credentials that never leave your machine. What we hold is a license key that routes alerts to that connection. Two optional passwords sit on top of it: a secret key the EA presents when it connects, and a signal authentication password that every webhook has to carry before we accept it. Signal authentication and secret keys.

Can two strategies trade the same symbol at once?⌄

On a hedging account, yes. Give each strategy its own magic number and PineHook keeps their positions separate for closes and modifications. Use a PineHook ticket when a command must select one trade within a strategy. One license covers this, so a second strategy does not require a second subscription. Netting and exchange accounts cannot keep separate positions on one symbol because the broker combines them into one net position. How many strategies you can run per symbol depends on your plan, and the account types guide explains magic numbers in full.

Does PineHook support pending orders?⌄

Yes. Buy and sell limits, buy and sell stops, and a pair of commands that resolve to limit or stop based on where price sits when the EA receives them, which helps when a strategy fires off historical bar data. Pending orders are good till cancelled by default, and an expiry can be attached in seconds or as an exact UTC time. Stops, targets, ladders and trailing all attach at fill rather than while the order waits. Order placement reference.

Coming from another relay? See how PineHook compares on latency, recovery and data handling.

PineHook Pro

Try these features free during beta

Use Pro throughout the beta, with no credit card required.

Join now and get 20% off for 12 months after launch.*

Join the betaCompare all plans and pricing

* To qualify, you must have connected your EA and sent at least one alert to it during the beta.

Included with Pro

3 MT5 accounts

5 strategies per symbol, per account

  • Unlimited alerts
  • Multi-TP, trailing stops, and breakeven
  • Drawdown limits and risk controls
  • Trade Copier across your accounts
  • Signal logs and account analytics
  • Open-position management
  • News calendar and filtering
  • 24/7 Product Support

A default anti-spam cap applies to alerts. Request an increase from your dashboard when needed.