
Independent PineHook setup guide. PineHook is not affiliated with or endorsed by FP Markets.
Can You Automate FP Markets with TradingView? MT5 & cTrader Setup (2026)
Yes, you can automate a TradingView strategy on an FP Markets MT5 or cTrader account by sending the strategy's alerts to PineHook. FP Markets supports Expert Advisors on MT5 and offers cTrader accounts. PineHook routes each alert to the platform assigned to its license.
FP Markets also connects eligible cTrader accounts to TradingView, but that connection is for orders placed through the Trading Panel. TradingView does not support automated Pine strategy trading through a connected brokerage account. PineHook provides a separate webhook route for strategy alerts.
FP Markets platform, account, and pricing details verified against the linked official pages on September 19, 2026. Products, platforms, pricing, and eligibility can vary by entity, account, and country.
How FP Markets automation works#
Automation follows four steps:
- A Pine strategy creates an order message inside a TradingView alert. TradingView documents these messages in its strategy alert guide.
- TradingView sends the message to PineHook's webhook URL. The Creating alerts guide provides the URL and message format.
- The license key or Copier ID identifies the FP Markets account and platform.
- PineHook executes through the MetaTrader 5 EA or an authorized cTrader account, then records the command and result in Signal Logs.
FP Markets lists Standard and Raw accounts for MT5 and cTrader. Its current account comparison lists TradingView only for Raw accounts. Check the platforms available through the FP Markets entity and client portal attached to your account.
| Route | Connection | Best fit |
|---|---|---|
| FP Markets MT5 | Sign in to MT5, install the PineHook EA, and attach it to one chart. | Use this when the terminal, EA, and internet connection can remain active. FP Markets permits Expert Advisors; PineHook's steps are in Connect MetaTrader 5. |
| FP Markets cTrader | Authorize the account from PineHook and select the intended FP Markets account. | Use this when the account appears under your cTrader ID. The desktop application does not need to remain open. See FP Markets' cTrader and cTID explanation and PineHook's Connect cTrader. |
| FP Markets TradingView | Connect an eligible FP Markets cTrader account through TradingView's Trading Panel. | Use this for manual chart orders. It cannot automate a Pine strategy. See FP Markets' connection steps and TradingView's automation limitation. |
Connect FP Markets to PineHook#
Start with Choose a platform in PineHook's Platform setup documentation, then follow the guide for the platform assigned to the FP Markets account.
Connect FP Markets MT5#
- Download MT5 from FP Markets and sign in with the account login and assigned server. The broker's MT5 page provides its downloads and platform details.
- Follow Connect MetaTrader 5 to install the PineHook EA. One chart is enough, as long as algorithmic trading is on.
- Create an MT5 license in PineHook and copy its key into the EA inputs.
- Add the PineHook webhook URL and a supported command to the TradingView alert.
The FP Markets login remains in MT5. PineHook uses the license configured in the EA and does not use the broker password. Keep the terminal, EA, and internet connection active while alerts need to execute, as explained in Connect MetaTrader 5. FP Markets also lists VPS availability for Standard and Raw accounts if the terminal cannot stay open on your computer.
FP Markets' EA policy currently limits an account to 10,000 movements in 24 hours. Openings, closes, pending orders, and trade modifications all count. FP Markets says it can mark a hyperactive account read-only until the trader corrects the EA settings and contacts support, so a strategy that modifies orders frequently must remain below that limit.
Connect FP Markets cTrader#
- Sign in to cTrader and confirm that the intended FP Markets account appears under your cTrader ID. FP Markets explains that the cTID works across brokers that support cTrader.
- Create a cTrader license in PineHook and approve the connection on cTrader's authorization page.
- Return to PineHook, select the exact FP Markets account, and finish creating the license.
- Add the new license key to the TradingView alert.
cTrader reads its PineHook settings from the dashboard, so there is no EA to install and the cTrader application does not need to remain open. Revoking the authorization stops future PineHook execution. Positions already open at FP Markets remain in the account. PineHook documents this connection in Connect cTrader.
Include the platform, account type, and account purpose in the license name when the FP Markets portal contains several accounts.
Verify the symbol and lot size before testing an alert#
Open the instrument in MT5 Market Watch or cTrader and compare its name with the ticker used by the TradingView strategy. If FP Markets uses another symbol, configure symbol mapping so PineHook sends the exact destination symbol.
Next, compare the strategy's quantity with the lot size expected by the account. FP Markets' current account comparison publishes a 0.01-lot minimum for its Standard and Raw accounts. Its official account terms use EURUSD to show that one lot represents 100,000 units of the base currency. If TradingView reports units rather than lots, configure lot size conversion before testing.
Symbol mapping changes the instrument sent to FP Markets, while lot size conversion changes the quantity. If TradingView sends 100000 units for EURUSD and those units represent one broker lot, a conversion factor of 0.00001 produces 1.00 lot. PineHook applies that factor to explicit lot-based entries, partial closes, and fixed-lot targets, as explained in the lot size conversion guide.
The published 0.01-lot minimum is a starting point. FP Markets tells traders to check an instrument's specification in Market Watch for its size limits, and its trading-hours table shows that sessions differ across forex, metals, energy, and other CFDs. Confirm the symbol, contract size, minimum volume, volume step, stop distance, and session on the account that will execute.
Test a TradingView alert#
FP Markets says it allows hedging and automated EA trading. On an FP Markets hedging account, one strategy can hold several positions in the same symbol at once. Each position can keep its own stop-loss and take-profit levels, including its own multi-level TP and SL schedule. The magic= value groups the strategy's positions, while a unique ticket= names one position inside that group. Reuse the ticket in a later modify or close command to manage only that position. The other positions retain their own stops and targets.
A PineHook ticket is separate from the broker's order and position numbers. Tickets work only on hedging accounts; netting accounts combine each symbol into one position and reject ticket parameters. See Hedging and netting accounts and Common parameters for the targeting rules.
Use this minimum-size EURUSD command to test an FP Markets hedging account:
YOUR_LICENSE_KEY,buy,EURUSD,size_lots=0.01,magic=1001,ticket=eur-long-001,sl_pips=50,tp_pips=100
The Creating alerts guide provides the webhook URL and message format, while the Default Mode reference defines size_lots, sl_pips, and tp_pips. When the alert fires, confirm in MT5 or cTrader that the symbol, side, volume, stop loss, and take profit match the command. Then compare the result with Signal Logs.
Match the strategy costs to the account#
The FP Markets pricing model changes by account type and entity. Its South Asia account comparison currently lists Standard spreads from 1.0 pip with no separate commission and Raw spreads from 0.0 pips with a US$3-per-lot, per-side commission. The Australian comparison instead lists AU$3.50 per side on Raw accounts. Use the currency and rate shown for your legal entity and account.
Record the spread during the strategy's actual trading hours. Add the account's commission and a realistic slippage allowance to TradingView's broker emulator. FP Markets also applies a swap or credit when eligible positions remain open through rollover, as explained in its guide to spreads, commissions, and swaps. Include that cost when the strategy holds positions overnight.
Configure risk controls for the account#
Set account limits before the strategy trades at its normal size. PineHook's risk-management controls apply independently of the TradingView script. Use them to stop new entries at the account's loss limit and to reject alerts outside the strategy's session, spread, or news rules.
| PineHook control | How it works and why it helps |
|---|---|
| Daily loss limit | Measures the day's loss from the higher of balance or equity at the UTC reset. Use it to stop one poor session from consuming the account's wider risk budget. End of Day drawdown mode already provides a daily guard. |
| Overall drawdown limit | Watches equity against a longer-term floor. Static protects a fixed starting level, while trailing modes and Relative can protect gains as the account grows. Use it to catch a decline that develops across several days. |
| Active trading sessions | Allows new entries only during chosen UTC hours while exits and management remain available. Use it to keep the strategy inside the sessions and liquidity conditions it was tested on. The optional cutoff can flatten positions and remove pending orders. |
| Maximum spread | Refuses a new entry when the live spread exceeds a pip or percentage ceiling. Use it to avoid an abnormal entry cost during rollover or thin markets. It cannot lock the final fill price. |
| News filter | Holds new entries around selected economic releases. Existing FP Markets positions and broker-side orders remain active. |
Choose what PineHook should do when a drawdown limit is breached: stop new entries, close open positions, or close them and keep further trading blocked. Place the threshold inside the maximum acceptable loss because a market exit can fill beyond the trigger. FP Markets states that it does not guarantee stop-loss prices, so the final result can also move during fast or thin markets.
These controls do not replace broker margin. FP Markets' published maximum leverage varies by entity: its South Asia comparison lists up to 1:500, while its Australian retail comparison lists up to 1:30. Note the free margin used by the minimum-size test and leave room for wider spreads and other positions that the strategy may open at the same time.
Use the news calendar before volatile sessions#
FP Markets says MT5 includes an economic calendar and cTrader includes a calendar with previous, consensus, and actual release values. Those calendars help identify scheduled events. PineHook adds an execution rule that can hold new strategy entries around them.
Set the before-and-after window globally or as a per-license override for the FP Markets account. The News Filter settings explain that inheritance. Select the license in the News Calendar to preview the releases covered by its saved window.
During the configured window, PineHook holds matching new entries. Close and cancel commands still run, while stop and target changes are held only when that option is enabled. Maximum-spread protection can add another cost check when entries resume.
Copy one strategy to FP Markets and other brokers#
A PineHook Trade Copier sends one TradingView alert to several licenses. Its destinations can mix FP Markets MT5, FP Markets cTrader, and accounts at other brokers, so the strategy does not need a separate alert for each account.
Each license receives the alert with its own size multiplier. The screenshot below shows the same three trades on three licenses at 0.5x, 1x, and 2x. PineHook applies the multiplier to fixed lots and volume calculated from risk, as documented in the Trade Copier reference.
Compare the live contract specification on every destination before setting its multiplier. Equal lot values can represent different exposure across instruments, platforms, and brokers.
Frequently asked questions#
Does FP Markets support both MT5 and cTrader?
Yes. FP Markets lists MT5 and cTrader, although availability can vary by entity and account.
Can FP Markets' TradingView connection automate a Pine strategy?
No. FP Markets' TradingView route lets an eligible account place orders from the Trading Panel. TradingView says Pine strategies cannot trade automatically through a connected brokerage account. PineHook uses strategy alerts and a separate execution connection.
Must MT5 or cTrader stay open?
The MT5 route needs the PineHook EA running in the terminal, as described in Connect MetaTrader 5. Connect cTrader uses an authorized account connection, so the cTrader desktop application does not need to remain open.
Does PineHook need my FP Markets password?
No. MT5 credentials remain in the terminal, as described in Connect MetaTrader 5. The cTrader route uses cTrader's authorization page, as described in Connect cTrader.
Can one FP Markets strategy hold several positions in the same symbol?
Yes, when the destination uses hedging. FP Markets says it allows hedging. Give each PineHook position a unique ticket= when the strategy must modify or close it independently.
Can one alert reach FP Markets MT5, cTrader, and another broker?
Yes. Add each license to a PineHook Trade Copier, set its multiplier, and send the alert to the Copier ID.
Create a PineHook account without payment details, or compare this setup with the other broker and prop firm guides.
FP Markets is a trademark of its owner. PineHook is independent and is not affiliated with, endorsed by, or sponsored by FP Markets, TradingView, MetaQuotes, or Spotware. Leveraged trading carries a high risk of loss.
