Configure the real generated copy
- Create a Guided setup with OPEN and terminate. Select One position per instrument for sequential lifecycles, or deliberately choose multiple positions for concurrent entries.
- Select Pine (advanced) in the setup guide and copy its Continuous script. For Advanced mode, author your own opening signals with complete canonical requests.
- Use standard time-based candles of at least one minute.
- Set a future Start time, an OPEN when close crosses above threshold and a lower positive TERMINATE when close crosses below threshold.
- Enable the indicator and create Any alert() function call before Start time, with the Liftx webhook URL and an appropriate expiration.
Complete source
Download the public Pine example.Before adapting the sample
The generated private copy replaces the dummytoken, link, catalog ID, source UUID, binding revision and liftxCredentialExpiresAt. Guided mode intentionally has an empty liftxOpenRequest; Liftx uses the saved opening configuration. Do not turn the public sample into a live sender by changing only its token.
Retain one coordinated producer per setup and instrument, preserve event identities on delivery retries and never reuse a lifecycle reference for a new position. Pine setup, canonical command fields and target semantics explain the contract.
After any interruption, inspect Events and actual positions, manage remaining orders/exposure and create a fresh source for a new alert. The example has no execution feedback, automatic delivery retry, automatic rearm or restart recovery.