TradingView to DXtrade Webhook Automation Guide with AlgoWay

TradingView to DXtrade webhook automation with AlgoWay

TradingView to DXtrade automation means sending a TradingView alert to an AlgoWay webhook URL and routing that structured signal into a DXtrade account. The alert comes from TradingView, AlgoWay receives and validates the JSON command, and the DXtrade route executes the supported trading action on the configured account.

This page is the dedicated AlgoWay guide for traders searching for TradingView to DXtrade, DXtrade webhook automation, TradingView alert to DXtrade, DXtrade trading bot, webhook autotrade bot for DXtrade, and automated trading on DXtrade with TradingView alerts.

The basic route is:

TradingView alert → AlgoWay webhook URL → AlgoWay DXtrade route → DXtrade account

Last updated: 2026-05-12 • Author: AlgoWay

Quick Answer: How to Connect TradingView Alerts to DXtrade

To automate TradingView alerts to DXtrade with AlgoWay:

  1. Create a webhook in the AlgoWay dashboard.
  2. Select TradingView as the source.
  3. Select DXtrade as the destination platform.
  4. Enter your DXtrade URL, login, password and account ID.
  5. Save the route and copy the AlgoWay webhook URL.
  6. Create or edit an alert in TradingView.
  7. Paste a valid DXtrade JSON command into the TradingView alert message.
  8. Enable Webhook URL and paste the AlgoWay webhook URL.
  9. Trigger a small test alert and check AlgoWay Webhook Logs.

Minimal DXtrade JSON example:

{
  "platform_name": "dxtrade",
  "ticker": "{{ticker}}",
  "order_action": "{{strategy.market_position}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "price": "{{close}}"
}

What DXtrade Webhook Automation Means

DXtrade is a broker-side trading platform used by brokers, prop firms and trading environments that need web, mobile and multi-asset execution. A trader may have a DXtrade account at a broker or prop firm, while the trading strategy itself runs in TradingView.

TradingView can generate the signal. DXtrade holds the trading account. AlgoWay connects the two sides:

Strategy condition in TradingView → webhook JSON → AlgoWay parser → DXtrade order action

This is different from manual trading. It is also different from simply viewing TradingView charts inside a DXtrade interface. In webhook automation, the alert message carries the order instruction: buy, sell, flat, size, symbol, price, stop loss, take profit and supported route parameters.

Why Use AlgoWay for TradingView to DXtrade?

TradingView sends an alert. It does not automatically know how your DXtrade broker expects authentication, account IDs, symbols, trade mode or order formatting. AlgoWay acts as the automation layer between TradingView and DXtrade.

AlgoWay helps with:

  • creating a dedicated DXtrade webhook route;
  • receiving TradingView webhook alerts;
  • validating JSON before execution;
  • mapping the alert to the DXtrade account configured in AlgoWay;
  • sending buy, sell and flat commands where supported;
  • using stop loss and take profit fields where the route supports them;
  • checking webhook logs and destination responses;
  • routing from the same AlgoWay dashboard to other platforms when needed.

Step 1. Create a DXtrade Webhook Route in AlgoWay

Open the AlgoWay dashboard and create a new webhook route for DXtrade.

  1. Log in to your AlgoWay account.
  2. Open Dashboard.
  3. Click Add Trial Webhook or Add Main Webhook.
  4. Select TradingView as the source.
  5. Select DXtrade as the platform.
  6. Fill in the required DXtrade connection fields.
  7. Save the webhook.
  8. Copy the AlgoWay webhook URL.

Create DXtrade webhook route in AlgoWay for TradingView automation

The webhook URL format is usually:

https://algoway.co/your-webhook-uuid

Step 2. DXtrade Fields Explained

DXtrade routes need account-specific information because the order must be sent to the correct broker environment and account.

AlgoWay field Example Purpose
Platform DXtrade Selects the DXtrade connector route.
Quantity Multiplier Absolute / 1 Controls how the incoming TradingView order size is interpreted.
Trade Type Hedge / Reverse Controls how opposite-direction signals are handled by the route.
URL https://dxtrade.yourbroker.com The DXtrade environment URL provided by your broker or prop firm.
Login Account login The login used for the DXtrade account.
Password Account password The password for the DXtrade account.
Account ID Numeric or broker-specific account identifier Tells AlgoWay which DXtrade account should receive the order.

AlgoWay dashboard with DXtrade webhook configuration

Step 3. Create the TradingView Alert

After the DXtrade route exists in AlgoWay, create or edit the TradingView alert that will send the signal.

  1. Open the chart in TradingView.
  2. Select the symbol and timeframe.
  3. Create an alert from your strategy, indicator, price level or custom condition.
  4. Choose the alert frequency.
  5. Paste the DXtrade JSON message into the Message field.
  6. Open Notifications.
  7. Enable Webhook URL.
  8. Paste the AlgoWay webhook URL.
  9. Save the alert.

Create TradingView alert for DXtrade webhook automation

For many automated strategies, Once per bar close is easier to control than intra-bar execution. If your strategy intentionally needs faster action, test carefully with small size first.

Step 4. DXtrade JSON Examples for TradingView Alerts

AlgoWay reads the TradingView alert message as JSON. Keep the JSON valid and keep platform_name aligned with the route.

Basic DXtrade market order

{
  "platform_name": "dxtrade",
  "ticker": "{{ticker}}",
  "order_action": "{{strategy.market_position}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "price": "{{close}}"
}

DXtrade buy alert with fixed size

{
  "platform_name": "dxtrade",
  "ticker": "EURUSD",
  "order_action": "buy",
  "order_contracts": 1,
  "price": "{{close}}"
}

DXtrade sell alert with stop loss and take profit

{
  "platform_name": "dxtrade",
  "ticker": "XAUUSD",
  "order_action": "sell",
  "order_contracts": 1,
  "stop_loss": 50,
  "take_profit": 120,
  "price": "{{close}}"
}

DXtrade flat command

{
  "platform_name": "dxtrade",
  "ticker": "{{ticker}}",
  "order_action": "flat",
  "order_contracts": 999999,
  "price": "{{close}}"
}

TradingView DXtrade webhook JSON message in alert window

Full JSON reference: AlgoWay JSON schema guide.

SL, TP, Flat and Trade Mode for DXtrade Automation

A DXtrade automation route is not only about entry. Real alert automation also needs exit behavior and risk fields.

Feature JSON field Use case
Buy / Sell order_action Open or route directional entries from TradingView.
Flat / Close order_action: "flat" Close the active position for the symbol where supported by route logic.
Size order_contracts Pass strategy size, fixed size or route-controlled size.
Stop Loss stop_loss / sl_price Define risk exit by offset or exact price where supported.
Take Profit take_profit / tp_price Define target exit by offset or exact price where supported.
Trade Type Dashboard setting Controls hedge/reverse behavior at route level.

Step 5. Add the AlgoWay Webhook URL in TradingView

In the TradingView alert window, open Notifications, enable Webhook URL, and paste the AlgoWay URL copied from the DXtrade route.

https://algoway.co/your-webhook-uuid

TradingView webhook URL field for AlgoWay DXtrade route

If the Webhook URL option is not enabled, TradingView may create the alert, but AlgoWay will not receive the signal.

Step 6. Test the DXtrade Webhook and Check Logs

Before live size, send a small test alert and inspect the result.

  1. Trigger the TradingView alert.
  2. Open AlgoWay → Webhook Logs.
  3. Confirm the payload was received.
  4. Check the parsed JSON fields.
  5. Check the DXtrade response.
  6. Confirm the result inside the DXtrade account.

AlgoWay webhook logs for TradingView to DXtrade automation

If AlgoWay logs do not update, the TradingView alert did not reach AlgoWay. If logs update but DXtrade does not execute, inspect the DXtrade response and the route configuration.

Common DXtrade Webhook Problems

Wrong DXtrade URL

DXtrade environments are broker-specific. If the URL belongs to another broker or environment, login and execution can fail.

Wrong Account ID

DXtrade login and account ID are not always the same value. Use the account ID shown in the DXtrade platform or provided by the broker.

Webhook URL Is Not Enabled in TradingView

The JSON message alone is not enough. Enable Webhook URL in the TradingView alert Notifications tab.

Invalid JSON

Missing quotes, broken braces, trailing commas or plain text can break the alert. See: How to fix AlgoWay webhook Error 415.

Wrong platform_name

For this route, use "platform_name": "dxtrade". Do not reuse JSON from MT5, Binance or TradeLocker without changing the platform field.

Symbol Mismatch

TradingView symbols may not match the DXtrade broker symbol exactly. If the broker uses suffixes or a different symbol format, configure mapping or send the exact accepted ticker.

Order Size Rejected

DXtrade route execution can fail if the size is below minimum, above maximum, not allowed for the instrument, or inconsistent with the account type.

Trade Mode Does Not Match Strategy Logic

If your strategy sends opposite signals, check whether the AlgoWay route is configured for hedge or reverse behavior. This affects how buy and sell signals interact with existing exposure.

DXtrade vs Other TradingView Automation Routes

AlgoWay supports DXtrade, but the same dashboard can also route TradingView alerts to other execution destinations.

Route Best for Related guide
TradingView → DXtrade DXtrade broker or prop-firm accounts. This guide
TradingView → MetaTrader 5 MT5 terminal-based execution. MT5 setup guide
TradingView → TradeLocker Modern broker-side TradeLocker accounts. TradeLocker setup guide
TradingView → Match-Trader Match-Trader broker accounts. Match-Trader setup guide
TradingView → Binance / OKX / Bybit / MEXC Crypto exchange execution. JSON schema guide

Safe Launch Checklist for TradingView to DXtrade

  • AlgoWay webhook route is active.
  • Source is TradingView.
  • Platform is DXtrade.
  • DXtrade URL is correct.
  • DXtrade login and password are correct.
  • DXtrade account ID is correct.
  • TradingView alert has Webhook URL enabled.
  • JSON is valid.
  • platform_name is dxtrade.
  • Symbol format is accepted by the DXtrade account.
  • Order size is valid.
  • AlgoWay logs show the received payload.
  • DXtrade account confirms the expected result.

FAQ

Can TradingView send alerts to DXtrade?

Yes. TradingView can send a webhook alert to AlgoWay, and AlgoWay can route the structured command to a configured DXtrade account.

Is this the same as TradingView charts inside DXtrade?

No. TradingView charting inside DXtrade is a charting feature. TradingView webhook automation is an alert-delivery and order-routing workflow from TradingView to AlgoWay to DXtrade.

What should I put in the TradingView message field?

Put valid JSON with "platform_name": "dxtrade", a ticker, order action, size and optional risk fields such as stop loss and take profit.

Do I need an MT5 EA for DXtrade automation?

No. DXtrade automation does not use the MT5 EA route. It uses the DXtrade route configured in AlgoWay.

Why did AlgoWay receive the alert but DXtrade did not open a trade?

Check DXtrade URL, login, account ID, symbol, size, market status, route mode and the platform response in AlgoWay logs.

Can I test TradingView to DXtrade before live trading?

Yes. Create a trial route or use small test size, trigger an alert, and verify the payload and DXtrade response in AlgoWay logs.

Final Summary

TradingView to DXtrade automation is a practical webhook route: TradingView creates the signal, AlgoWay receives the JSON, and DXtrade receives the execution command through the configured route.

Start with one small test alert, verify the JSON in AlgoWay Webhook Logs, confirm the DXtrade response, and only then connect the final strategy or indicator for automated trading.