Skip to main content
Ordinary alerts are the simplest supported setup. One Liftx key can serve a coordinated OPEN/EXIT pair. Each distinct OPEN starts a new lifecycle; EXIT terminates this setup’s eligible positions, or matching market positions if explicitly permitted.
Complete Liftx setup first. Keep alerts disabled until production execution is available. The examples below deliberately contain an invalid key and synthetic target; copy the actual messages generated in your private Liftx session.

Step 1: save the generated bundle

In the TradingView setup guide within Save your TradingView setup, select Ordinary alerts. Liftx shows OPEN when open permission is granted, otherwise a strategy EXIT when terminate permission is granted. Guided OPEN uses its saved configuration. Advanced OPEN includes a complete illustrative limit request with SL and TP: review and edit its prices, amount, account settings and protections before use. Its asset and market fields come from the exact instrument’s catalog metadata; account eligibility and current venue limits still apply. The example never imports or saves a Trading draft. Select Copy complete setup, then save it in a private editor before opening TradingView. The bundle contains labeled sections. Only the JSON object for the selected action belongs in an alert’s Message field. The webhook URL belongs in Notifications → Webhook URL. Do not paste the entire bundle into Message.

Step 2: create the entry alert

Open TradingView Supercharts and create a price or indicator alert. Labels can vary with the selected condition; configure these values: The chart’s threshold is the trigger condition. It does not replace a price in the saved Liftx order request. A limit price, SL or TP imported from the builder remains that configured value.

Guided OPEN message

Guided mode loads the opening request saved with the setup. For Advanced mode, your sender adds the complete canonical request inside alert; use Position JSON in Trading and the position field reference to prepare a new opening request. Do not send only the fields that changed.

Step 3: create the exit alert

Create a second price or indicator alert for the intended exit condition. If Liftx generated an OPEN message, duplicate its private JSON, set alert.action to "terminate" and alert.target to "strategy", and remove alert.request when present. Keep the token, link, instrument, source, revision, fire-time placeholder and lag unchanged. This requires terminate permission. If Liftx generated EXIT directly, use that JSON. Both alerts use the same webhook URL:
This strategy’s positions produces target: "strategy". All positions in this market produces target: "market" and is available only with the separately granted permission. EXIT omits request; it cancels pending work and closes remaining exposure through Liftx’s termination owner. Ordinary EXIT does not know the reference of one earlier OPEN. It cannot selectively close one lifecycle or modify protections. Use Pine exact references when selection must be specific, and an API controller when current position state is required.

Field-by-field contract

Unknown, duplicate, incorrectly cased or extra fields are rejected. Do not add command, sequence, client_command_id, position_id or position references to the alert object. The ordinary adapter derives those identities itself.

Identity, retries and same-second signals

Liftx derives the event identity from this setup’s source, exact link and instrument, UTC trigger second and action. It derives a fresh lifecycle reference for OPEN and a 60-second deadline with the default template. An unchanged delivery retry returns the original receipt. This supports one distinct OPEN and one distinct EXIT per second per setup and instrument. Identical same-second events are indistinguishable from retries. Different content for the same identity conflicts; editing the message does not make it a new event. EXIT orders after OPEN in the same second. If the exit arrives first, its fence rejects the older unseen open. If the open arrives first, the exit can capture it. This prevents late delivery from automatically reopening a just-terminated cycle; it is not a delivery guarantee. Use one coordinated pair per instrument. Do not duplicate it or mix it with Pine on the same instrument. The same key can serve another permitted instrument with its own exact message target. Independent strategies on the same instrument need separate setups.

Validate the complete path

Use an explicitly selected demo link and a small valid imported order. Confirm the alert is created and enabled, then observe a deliberate trigger. Check TradingView’s alert log and webhook status, Liftx Events → Refresh, and the actual position/orders. Trigger the paired exit and repeat those checks. A 202 means accepted, not filled or flat. If the ordinary pair stops or loses delivery, inspect outstanding positions before creating a replacement setup. A fresh exit-only setup using strategy has no ownership of the old setup’s positions. Manage them directly in Liftx or use an intentionally authorized market target. See TradingView’s webhook configuration guide for the provider’s dialog and placeholder reference for supported substitutions.