Step 1: save the generated bundle
In the one-time Save your TradingView setup panel, select Ordinary alerts. Review the generated OPEN message, the On an EXIT alert selector and the EXIT message. 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
request inside alert; use the generated value and the position field reference. 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. Use the same webhook URL and the generated EXIT JSON:
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, the 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. 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 this pair as one coordinated source. Do not clone it across charts, share it with independent strategies, or mix it with Pine commands under the same key. Create a separate setup for another strategy or market.Validate the complete path
After activation, 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 Activity → Refresh latest, and the actual position/orders. Trigger the paired exit and repeat those checks. A202 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.