Webhooks
Webhooks are the primary way to send signals from TradingView to SolidLinq. Our webhook API is designed to be simple yet powerful, supporting a wide range of order types and parameters.
Webhook Payload Structure
Your TradingView alert message should be a JSON object containing the necessary parameters for your trade. Here's a basic example:
{
"action": "buy",
"symbol": "EURUSD",
"lots": 0.1,
"sl": 1.08500,
"tp": 1.09500,
"magic": 12345,
"comment": "TradingView Signal"
}Supported Parameters
| Parameter | Type | Description |
|---|---|---|
| action | string | "buy", "sell", "close", "closeall" |
| symbol | string | The ticker symbol (e.g., "EURUSD", "BTCUSDT") |
| lots | number | The position size in lots |
| sl | number | Stop loss price level (optional) |
| tp | number | Take profit price level (optional) |
Advanced Parameters
You can also use advanced parameters like `risk_percent`, `risk_dollars`, `trailing_sl`, and `breakeven_trigger` to further customize your execution.
Security
Every webhook URL is unique to your account and contains a secure token. Do not share your webhook URL with anyone. If you suspect your URL has been compromised, you can regenerate it from your dashboard.