[Original HTML page](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html)

datePublished: 2026-10-10T00:00:00+04:00  
dateModified: 2026-10-10T00:00:00+04:00  

# **How to Connect TradingView to cTrader with AlgoWay: FIX-P or OAuth O-API**

<img src="https://docs.algoway.trade/img/blog-img/ctrader-setup-guide@2x.jpg" style="display:block; margin:0 auto 1.5rem auto; width:100%; height:auto;" data-fetchpriority="high" decoding="async" width="2048" height="1407" alt="AlgoWay cTrader Open API webhook form alongside the cTrader OAuth account authorization screen" />

**AlgoWay can deliver TradingView trading alerts to cTrader through two different connections: cTrader FIX-P and cTrader O-API (Open API with OAuth).** Both use a webhook URL in TradingView, but the authorization process and available order-management features are different.

**Choose cTrader O-API if your strategy needs Stop Loss, Take Profit or trailing stop management.** The AlgoWay cTrader FIX-P route is intended for basic trade execution and **does not support SL, TP or trailing stops**. This is a limitation of the FIX-P route offered in AlgoWay, not a claim that every FIX implementation has the same capabilities.

``` text
TradingView alert -> AlgoWay webhook -> cTrader FIX-P or O-API -> trading account
```

Last updated: 2026-10-10 • Author: AlgoWay

**Contents**

- [Quick answer: FIX-P or O-API?](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#quick-answer)
- [Choose a cTrader connection in AlgoWay](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#choose-connection)
- [Requirements](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#prerequisites)
- [Method 1. Connect cTrader O-API using OAuth](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#oapi-setup)
- [Method 2. Connect cTrader FIX-P](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#fix-setup)
- [Set up the TradingView alert for either method](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#tradingview-setup)
- [Test order execution and protections](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#testing)
- [Troubleshooting](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#problems)
- [Frequently asked questions](https://docs.algoway.trade/how-to-connect-tradingview-to-ctrader.html#faq)

## Quick Answer: Which cTrader Connection Should You Use?

Use **cTrader O-API** for trading automation that includes position protection and management. OAuth lets you grant AlgoWay permission to trade on a selected cTrader account without entering your account password or FIX credentials. Choose **cTrader FIX-P** for basic order execution using dedicated FIX session credentials when SL, TP and trailing stops are not required from this connection.

| Feature               | cTrader FIX-P in AlgoWay                        | cTrader O-API in AlgoWay                           |
|-----------------------|-------------------------------------------------|----------------------------------------------------|
| Authorization         | FIX server, port, SenderCompID and FIX password | cTrader OAuth account authorization                |
| Open and close trades | Yes, for supported order operations             | Yes, for supported order operations                |
| Stop Loss (SL)        | **Not supported**                               | Supported                                          |
| Take Profit (TP)      | **Not supported**                               | Supported                                          |
| Trailing stop         | **Not supported**                               | Supported for applicable orders and configurations |
| Best for              | Basic entry and exit automation                 | Strategies requiring SL/TP or position management  |

**Important:** Do not select cTrader FIX-P for alerts that rely on AlgoWay placing or updating SL, TP or trailing stops. The presence of SL/TP fields in a TradingView JSON message does not enable features that the FIX-P connection does not implement. Choose cTrader O-API instead and test the protective orders on a demo account.

## Choose FIX-P or O-API in the AlgoWay Dashboard

In the AlgoWay webhook creation form, choose **TradingView** under **Source (from)**. Under **Platform (to)**, the cTrader integration appears as **two separate destinations**: **cTrader FIX-P** and **cTrader O-API**. They are not interchangeable, and the authentication form changes with your selection.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-oapi-selection.png" style="display:block; max-width:100%; width:auto; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" width="1066" height="1460" alt="AlgoWay destination dropdown showing cTrader FIX-P and cTrader O-API as separate integration options" />
<figcaption>AlgoWay lists cTrader FIX-P and cTrader O-API separately. Select the route that supports your strategy's required order operations.</figcaption>
</figure>

The same selection is available when starting a new webhook from the connection or trial screen. The next screenshot shows **TradingView -\> cTrader O-API** selected, with trial and subscription actions below. Current billing terms are shown in your dashboard.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-oapi-trial.png" style="display:block; max-width:100%; width:auto; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" width="618" height="1389" alt="AlgoWay webhook selection showing TradingView as source, cTrader O-API as destination, and trial options" />
<figcaption>Example of the cTrader O-API route selected in the AlgoWay connection screen.</figcaption>
</figure>

## What You Need Before Starting

Prepare a cTrader trading account, an AlgoWay account and a TradingView strategy or alert with webhook delivery enabled. Start on a demo account where practical. You will create a **separate AlgoWay webhook for the cTrader account** you connect.

For **O-API**, you need access to the cTrader login that owns the account and permission to authorize AlgoWay via OAuth. For **FIX-P**, your broker must make FIX API access available, and you need that account's trade session credentials and a dedicated FIX password.

## Method 1. Connect cTrader O-API with OAuth

This is the recommended route for strategies that need automated Stop Loss, Take Profit or trailing stop behavior. It uses **cTrader Open API** and an explicit permission screen, rather than the FIX trade session details.

### Step 1. Select cTrader O-API

1.  Sign in to AlgoWay and open the webhook creation form (trial or standard webhook, according to your account).
2.  Select **TradingView** under **Source (from)**.
3.  Select **cTrader O-API** under **Platform (to)**, not **cTrader FIX-P**.
4.  Review **Quantity Multiplier**, **Trade Type** and other optional settings for your strategy.

### Step 2. Authorize Your cTrader Account

1.  In the O-API connection form, click **Get Token from cTrader**.
2.  A cTrader authorization window opens at **id.ctrader.com**. Sign in there when prompted.
3.  Review the requested permission to place orders and manage positions. Select the specific **Demo** or **Live** trading account you intend AlgoWay to use.
4.  Click **Allow access** to authorize AlgoWay for the selected account.
5.  Return to the webhook form and confirm that the **Account ID**, **Account Type**, **Access Token**, **Refresh Token** and **Access Token Expires At (UTC)** correspond to the authorized connection.

<figure>
<img src="https://docs.algoway.trade/img/manuals/ct-oapi2.jpg" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1.5rem auto;" loading="lazy" decoding="async" width="773" height="882" alt="cTrader OAuth granting access to an account beside the AlgoWay O-API webhook form and token fields" />
<figcaption>The cTrader OAuth window requests trading permissions for a selected account. AlgoWay's O-API form contains the account and token fields. Token values have been hidden in this illustration for security.</figcaption>
</figure>

**Keep OAuth tokens private.** Access and refresh tokens are credentials, not values to place inside TradingView JSON or publish in screenshots. The authorization screen is where you approve account access; the webhook form is where AlgoWay stores the resulting connection details.

### Step 3. Review the Connection and Save

1.  Match the **Account ID** to the account you allowed in the cTrader authorization window.
2.  Select the corresponding **Demo** or **Live** value in **Account Type**.
3.  Check **Quantity Multiplier**, **Trade Type** and optional **Symbol Mapping** so that the TradingView quantity and symbol are interpreted correctly.
4.  Save using **Add Main Webhook** or **Add Trial Webhook**, depending on the form you opened.
5.  Locate the new webhook URL and the JSON message template on the AlgoWay dashboard.

OAuth authorizes the selected account; it does not authorize all accounts connected to a cTrader login. If you select a different account in AlgoWay, make sure that account was included in the permission granted to AlgoWay.

### Step 4. Use O-API for Protective Orders

For SL, TP or trailing stop management, use the fields and settings supported by the **AlgoWay cTrader O-API connection** and your chosen order type. Open API can handle these protective-order operations where the account and order configuration permit them; they are **not** available through AlgoWay's cTrader FIX-P route. Check the executed position and its actual protection in cTrader after testing an alert. Do not assume that a successful entry means every protective order was also created.

## Method 2. Connect cTrader FIX-P

Choose FIX-P for basic trade execution without AlgoWay-managed SL, TP or trailing stops. This method uses FIX credentials from the cTrader platform, rather than the cTrader OAuth permission window.

### Step 1. Sign In to cTrader

Open cTrader through your broker, sign in and select the trading account you want to automate. Demo and live accounts can have different FIX API credentials.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-1.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="cTrader sign-in screen for the trading account used for a FIX-P connection" />
<figcaption>Sign in to the trading account you intend to use with FIX-P.</figcaption>
</figure>

### Step 2. Obtain FIX-P Trade Session Credentials

1.  In cTrader, open **Settings \> FIX API**.
2.  Find the FIX connection details for your selected account.
3.  Use the **trade** connection, not the separate **price** connection.
4.  Copy the **Server**, **Port** and **SenderCompID** from the trading session.
5.  Set a separate FIX API password using **Change password**. Do not enter your ordinary cTrader login password into the FIX-P form.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-2.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="cTrader FIX API settings showing the server port and SenderCompID needed for trading" />
<figcaption>Use the trading session's FIX API parameters for the selected account.</figcaption>
</figure>

See the <a href="https://help.ctrader.com/fix/getting-credentials/" target="_blank" rel="noopener noreferrer">official cTrader FIX credentials documentation</a> for the difference between price and trade connections.

### Step 3. Create the cTrader FIX-P Webhook in AlgoWay

1.  In the AlgoWay dashboard, click **Add Main Webhook**.
2.  Select **TradingView** under **Source (from)**.
3.  Select **cTrader FIX-P** under **Platform (to)**.
4.  Enter the FIX trade connection details from cTrader, including the dedicated FIX password.
5.  Review quantity, trading mode and symbol mapping, then save the webhook.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-3.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="AlgoWay cTrader FIX API webhook settings for TradingView signals" />
<figcaption>The cTrader FIX-P route requires FIX session information instead of OAuth tokens.</figcaption>
</figure>

**FIX-P limitation:** AlgoWay does not offer Stop Loss, Take Profit or trailing stop functionality on this FIX-P connection. If your TradingView strategy needs those operations, create a **cTrader O-API** webhook rather than expecting the FIX-P route to manage them.

### Step 4. Verify the Webhook in the Dashboard

After saving, find the cTrader FIX-P webhook in your AlgoWay dashboard. Confirm the intended account and the unique webhook URL. Keep that URL private.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-4.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="AlgoWay dashboard with a saved cTrader trading webhook" />
<figcaption>The dashboard lists the created webhook and provides its TradingView connection details.</figcaption>
</figure>

## Set Up TradingView Alerts for Either cTrader Connection

Once you have saved **one** cTrader connection (FIX-P or O-API), the TradingView side follows the same basic pattern. Each webhook has its **own unique URL**; paste the URL and JSON message from the specific AlgoWay route you want to use.

### Step 1. Create the TradingView Alert and JSON

1.  Open your TradingView chart, strategy or indicator and create an alert with the intended trigger condition.
2.  Open the JSON example for your newly created webhook in the AlgoWay dashboard.
3.  Copy the JSON into TradingView's **Message** field.
4.  For a TradingView strategy order-fill alert, a basic AlgoWay order message uses the following fields:

``` text
{"ticker":"{{ticker}}","order_action":"{{strategy.order.action}}","order_contracts":"{{strategy.order.contracts}}"}
```

This example is for **strategy order-fill alerts**. Other alert sources may use different values. The JSON shown in your AlgoWay dashboard takes precedence over a generic sample. Do not add OAuth credentials or a FIX API password to the message.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-5.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="TradingView JSON message fields prepared for an AlgoWay cTrader webhook" />
<figcaption>Place the webhook JSON in the TradingView alert's Message field.</figcaption>
</figure>

### Step 2. Insert the AlgoWay Webhook URL

In TradingView's alert notifications, enable **Webhook URL** and paste the URL for the correct AlgoWay cTrader connection.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-6.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="TradingView alert configuration with webhook URL delivery enabled" />
<figcaption>Use the unique AlgoWay webhook URL associated with your selected cTrader account.</figcaption>
</figure>

Review the trigger condition, message, webhook URL and alert frequency, then click **Create**.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/tv-ct-7.png" style="display:block; max-width:100%; width:100%; height:auto; margin:0 auto 1rem auto;" loading="lazy" decoding="async" alt="TradingView alert reviewed and ready to create for cTrader order routing" />
<figcaption>Save the TradingView alert only after checking the JSON and destination URL.</figcaption>
</figure>

## Test TradingView to cTrader Execution

1.  Use a **Demo** account and a small valid position size for the first test.
2.  Trigger a controlled TradingView alert and verify it was received in the **AlgoWay webhook logs**.
3.  Check the order execution response and confirm the symbol, direction and size in the corresponding cTrader account.
4.  For **O-API**, where applicable, also verify that the requested SL, TP and trailing protection is actually present and updates correctly.
5.  For **FIX-P**, do not expect AlgoWay to create or adjust SL, TP or trailing stops.

An alert marked as delivered in TradingView is not proof that an order executed in cTrader. Use the AlgoWay log and the destination account to verify the result.

## Common cTrader Connection Problems

### Stop Loss, Take Profit or Trailing Stop Does Not Work

First check the webhook's destination. **cTrader FIX-P** does not implement these functions in AlgoWay. Use **cTrader O-API** for supported position protection and management, and verify the order configuration and execution logs.

### OAuth Permission Was Not Granted

Return to the O-API connection form, click **Get Token from cTrader**, sign in to the correct cTrader account and approve **Allow access**. Check that the account in the authorization window matches the account selected in AlgoWay.

### Expired or Missing O-API Token

Inspect the webhook connection and the exact AlgoWay log message. Use the cTrader authorization flow again when necessary. Never paste an access or refresh token into a publicly visible support post.

### Account ID or Demo/Live Mismatch

For O-API, compare the **Account ID** and **Account Type** in AlgoWay with the account selected in the cTrader OAuth permissions screen. A demo account must not be configured as live, or vice versa.

### FIX Credentials Are Rejected

Verify the **trade** connection server, port, SenderCompID and dedicated FIX password under **cTrader \> Settings \> FIX API**. Do not use the separate price connection or the ordinary platform login password.

### TradingView Symbol or Order Quantity Is Rejected

Check instrument naming and quantity constraints for the connected cTrader account. Review the **Symbol Mapping** and **Quantity Multiplier** in AlgoWay, then use a supported order size and symbol for a small test.

### TradingView Alert Arrives, but No Trade Appears

Check the complete response in your AlgoWay webhook logs. Confirm that the URL belongs to the intended cTrader FIX-P or O-API connection, and that the correct account and credentials or OAuth authorization are active.

## Frequently Asked Questions

### Do I need a VPS or to keep my computer on for automated trading?

Absolutely not. AlgoWay is a cloud-based service with centralized signal processing and order routing. You do not need a VPS, an always-on computer, or a locally running trading app. Your TradingView alerts continue to work even when your computer is shut down.

### What is the difference between cTrader FIX-P and O-API in AlgoWay?

FIX-P authenticates with dedicated FIX session settings for basic trade execution. O-API uses cTrader OAuth account permission and supports position protection such as SL/TP and applicable trailing stops.

### Does AlgoWay support Stop Loss and Take Profit on cTrader FIX-P?

No. The AlgoWay cTrader FIX-P integration does not provide SL or TP management. Use cTrader O-API when the strategy requires them.

### Does cTrader FIX-P support trailing stops in AlgoWay?

No. Trailing stops are not supported by the AlgoWay cTrader FIX-P route. Use the O-API connection for supported trailing-stop operations.

### Do I need to share my cTrader account password for OAuth?

No. Authorize AlgoWay in cTrader's own OAuth permission window. Access and refresh tokens should remain private and should not appear in TradingView alerts.

### Can I use a cTrader demo account first?

Yes. Select and authorize a demo account under O-API, or obtain its dedicated FIX settings for FIX-P, then verify the results with a small test order.

### Can the same TradingView alert point to both cTrader routes?

Each AlgoWay webhook is a distinct account connection with its own URL. Choose the route that the TradingView alert is intended to execute on; do not treat the two destinations as a single combined account.

## Related AlgoWay Guides

- [How to automate TradingView alerts to a broker with AlgoWay](https://algoway.trade/blog/automate-tradingview-alerts-to-any-broker-with-algoway.html)
- [How to create a webhook in TradingView](https://docs.algoway.trade/guide-to-creating-a-webhook-in-tradingview.html)
- [AlgoWay JSON schema guide](https://algoway.trade/blog/json-schema-guide.html)
- [How to fix AlgoWay webhook Error 415](https://algoway.trade/blog/algoway-415.html)

## Final Summary

**Choose cTrader O-API for trading strategies that need SL, TP or trailing stops, and authorize the selected trading account through OAuth.** For basic orders that do not need those features, cTrader FIX-P connects through dedicated FIX trading credentials. In either case, finish by creating the TradingView alert using the unique AlgoWay webhook URL and JSON message, then verify the outcome on a demo account.

## Related TradingView Integration Guides

Explore step-by-step webhook setup guides for other supported trading platforms.

- [Connect TradingView to Match-Trader with webhook automation](https://docs.algoway.trade/setting-up-a-webhook-for-matchtrader-on-the-algoway-platform.html)
- [Connect TradingView to TradeLocker with webhook automation](https://docs.algoway.trade/tradeLocker-setup-guide.html)
- [Connect TradingView to DXtrade with webhook automation](https://docs.algoway.trade/guide-to-creating-a-webhook-in-tradingview.html)
- [Connect TradingView to MetaTrader 5 with webhook automation](https://docs.algoway.trade/algoway-mt5-ws-v10-overview.html)

Published: October 10, 2026 Last updated: October 10, 2026
