Documentation

Documentation

Welcome to the XALIUM documentation. This comprehensive guide will help you set up and use the platform to automate your trading strategies with TradingView alerts.

What is XALIUM?

XALIUM is a cloud-based trading automation platform that connects your TradingView alerts with your MT5/MT4 broker accounts, enabling fully automated trade execution with simple setup.

No programming experience required! Our natural language processing understands plain English commands like "buy EURUSD 0.1 lots sl 1.16500 tp 1.17000" - just type normal words and trades execute instantly.

Quick Start

Get started with XALIUM in just 5 minutes by following these steps:

1 Create Your Account

Sign up for XALIUM and choose a plan that fits your trading volume. After registration, you'll receive access to your personal dashboard.

2 Connect Your Broker

Navigate to the Settings section and connect your MT5/MT4 broker account by entering your account credentials and server details.

3 Copy Your Webhook URL

From your dashboard, copy your unique webhook URL. This is what TradingView will use to send signals to XALIUM.

4 Set Up TradingView Alerts

Create alerts in TradingView and configure them to send webhook notifications to your XALIUM webhook URL.

5 Start Trading

Once configured, your TradingView alerts will automatically trigger trades on your broker account through XALIUM.

Requirements

Before getting started with XALIUM, ensure you have the following:

Important Note

TradingView webhook functionality is only available for Pro, Pro+ and Premium subscribers. The free TradingView plan does not support webhooks.

Account Setup

Setting up your XALIUM account is straightforward:

Registration

  1. Visit XALIUM.com and click "Get Started"
  2. Choose your subscription plan (Starter, Professional, or Enterprise)
  3. Complete the registration form with your details
  4. Verify your email address
  5. Complete the payment process

Dashboard Overview

Once logged in, you'll have access to:

Broker Connection

Connecting your MT5/MT4 broker account to XALIUM:

Supported Brokers

XALIUM supports all brokers that offer MetaTrader 5 (MT5) or MetaTrader 4 (MT4) platforms, including:

Note: XALIUM supports both MetaTrader 4 (MT4) and MetaTrader 5 (MT5) platforms. Works with any broker that provides MT4 or MT5 access.

Connection Steps

  1. Log in to your XALIUM dashboard
  2. Navigate to Settings → Broker Connection
  3. Select your broker from the dropdown menu or enter manually
  4. Enter your MT5/MT4 account details:
    • Account Number
    • Password
    • Server Address
  5. Click "Connect" to establish the connection
  6. Wait for connection verification (usually takes 5-10 seconds)

Security First

Your broker credentials are encrypted using industry-standard AES-256 encryption and are never stored in plain text. We take your security seriously.

Webhook URL

Your webhook URL is the unique endpoint that TradingView uses to send signals to XALIUM.

Finding Your Webhook URL

  1. Go to your XALIUM dashboard
  2. Navigate to the Signals section
  3. Your webhook URL will be displayed at the top
  4. Click the "Copy" button to copy it to your clipboard

Your webhook URL will look like this:

https://xalium.com/webhook/your-unique-id-here

Keep It Private

Your webhook URL is unique to your account. Never share it publicly as anyone with this URL could potentially send signals to your trading account.

Creating TradingView Alerts

Learn how to create and configure TradingView alerts to work with XALIUM:

Step-by-Step Guide

1. Open Your TradingView Chart

2. Create an Alert

  1. Click the "Alert" button in the top toolbar (or press Alt + A)
  2. In the alert dialog, configure:
    • Condition: Select your indicator/condition (e.g., "RSI crossing above 30")
    • Options: Choose "Once Per Bar Close" for reliable signals
    • Expiration: Set to "Open-ended" for continuous alerts

3. Configure Notifications

In the "Notifications" tab:

Webhook Setup in TradingView

Detailed instructions for configuring the webhook in your TradingView alert:

Webhook URL Field

Paste your XALIUM webhook URL in the "Webhook URL" field:

https://xalium.com/webhook/your-unique-id-here

Alert Message Format

In the "Message" field, you can use either Natural Language or JSON format:

Natural Language Format (Recommended)

Simple, human-readable format:

Buy EURUSD 0.1 lots SL 1.16373 TP 1.16454
sell GBPUSD 0.05 lots sl 1.26500 tp 1.26000

JSON Format (Advanced)

Structured JSON format for advanced options:

{
  "action": "trade",
  "type": "market",
  "side": "buy",
  "symbol": "EURUSD",
  "volume": 0.1,
  "sl": 1.16373,
  "tp": 1.16454,
  "comment": "TradingView Signal"
}

Pro Tip

Use TradingView's placeholder variables like , , or to make your alerts dynamic and reusable across different charts.

Alert Message Format

Understanding the JSON structure for your alert messages:

JSON Structure

All alert messages can use either natural language or JSON with the following structure:

Natural Language Format:

Buy EURUSD 0.1 lots SL 1.16373 TP 1.16454
sell GBPUSD 0.05 lots sl 1.26500 tp 1.26000

JSON Format:

{
  "action": "trade",
  "type": "market|pending",
  "side": "buy|sell",
  "symbol": "INSTRUMENT_SYMBOL",
  "volume": 0.1,
  "sl": 1.16373,
  "tp": 1.16454,
  "price": 1.2345,
  "comment": "Optional comment"
}

Parameters Explained

Parameter Type Required Description
action string Yes Trade action: "trade" (for JSON) or "buy"/"sell" (for natural language)
type string No Order type: "market" (default) or "pending"
side string Yes Trade direction: "buy" or "sell"
symbol string Yes Trading instrument (e.g., "EURUSD", "GBPUSD", "XAUUSD")
volume number Yes Position size in lots (e.g., 0.1, 0.5, 1.0)
sl number No Stop loss price level
tp number No Take profit price level
price number No Entry price for pending orders (omit for market orders)
comment string No Custom comment for the trade

Signal Examples

Natural Language - Basic Buy Signal

Buy EURUSD 0.1 lots SL 1.16373 TP 1.16454

Natural Language - Sell Signal

sell GBPUSD 0.05 lots sl 1.26500 tp 1.26000

JSON - Market Buy Order

{
  "action": "trade",
  "type": "market",
  "side": "buy",
  "symbol": "EURUSD",
  "volume": 0.1,
  "sl": 1.16373,
  "tp": 1.16454,
  "comment": "TradingView Signal"
}

JSON - Pending Sell Order

{
  "action": "trade",
  "type": "pending",
  "side": "sell",
  "symbol": "GBPUSD",
  "volume": 0.2,
  "price": 1.2750,
  "sl": 1.2780,
  "tp": 1.2690,
  "comment": "Resistance level sell"
}

Natural Language - Gold Trade

BUY XAUUSD 0.02 lots sl 2340.50 tp 2380.00

JSON - Dynamic Signal with TradingView Variables

{
  "action": "trade",
  "type": "market",
  "side": "buy",
  "symbol": "",
  "volume": 0.1,
  "sl":  - 50,
  "tp":  + 100,
  "comment": " - "
}

Supported Order Types

XALIUM supports multiple order types using natural language. Simply type your command in plain English!

MetaTrader 5 (MT5) - All Order Types

MT5 supports 8 order types:

Market Orders

Pending Orders

MetaTrader 4 (MT4) - 6 Order Types

MT4 supports 6 order types (Stop Limit orders not available):

Market Orders

Pending Orders

Flexible Formatting

All order types are case-insensitive and work with or without spaces:

Order Type Explanations

Order Type When It Executes Use Case
Buy Stop When price rises to the specified level Enter long when breakout above resistance
Sell Stop When price drops to the specified level Enter short when breakdown below support
Buy Limit When price drops to the specified level Buy at a better (lower) price
Sell Limit When price rises to the specified level Sell at a better (higher) price
Buy Stop Limit Stop triggers, then executes as limit Controlled entry on breakout (MT5 only)
Sell Stop Limit Stop triggers, then executes as limit Controlled entry on breakdown (MT5 only)

Testing Your Alerts

Before going live, it's crucial to test your setup:

Test Mode

To test your signals safely without executing trades:

  1. Go to your XALIUM dashboard
  2. Navigate to the Primary Accounts section (look for the and icons in the Connected MT4 Account card)
  3. Deselect all accounts (ensure no accounts are checked)
  4. Create a TradingView alert with your signal
  5. Trigger the alert manually or wait for the condition
  6. Check the "Signals" tab in XALIUM to see the received signal
  7. Verify the signal details are correct
Primary Accounts Section in Dashboard

Primary Accounts section showing the user and sync icons

How Test Mode Works

When no accounts are selected in the Primary Accounts section, signals are received and saved in your dashboard for viewing, but no trades are executed. This allows you to verify your signal format and setup without any risk.

Test First!

Always test your alerts with no accounts selected before enabling live trading. This prevents unintended trades and helps you verify your signal format is correct.

Demo Account Testing

We recommend:

Risk Management

Proper risk management is essential for successful automated trading:

Position Sizing

Stop Loss & Take Profit

Troubleshooting

Common issues and their solutions:

Signals Not Being Received

  1. Verify your webhook URL is correct in TradingView
  2. Check if you have an active XALIUM subscription
  3. Ensure your TradingView account supports webhooks (Pro/Pro+/Premium)
  4. Check the Notifications tab in XALIUM for error messages

Trades Not Executing

  1. Verify your broker connection is active (green status)
  2. Check if any accounts are selected in the Primary Accounts section (trades only execute when accounts are selected)
  3. Ensure sufficient margin in your trading account
  4. Verify the symbol name matches your broker's format
  5. Check if trading hours are active for the instrument

Invalid JSON Format Error

  1. Validate your JSON using an online JSON validator
  2. Check for missing commas, brackets, or quotes
  3. Ensure all string values are in double quotes
  4. Remove any trailing commas

Connection Issues

  1. Verify your broker credentials are correct
  2. Check if your broker server is online
  3. Ensure your IP is not blocked by the broker
  4. Try reconnecting from the Settings page

Best Practices

Follow these guidelines for optimal results:

Strategy Development

Alert Configuration

Account Management

Security

Success Tips

The most successful XALIUM users start small, test thoroughly, and gradually scale up their trading as they gain confidence in their automated system.


Need More Help?

If you have questions or need assistance:

Back to Home