Continuous entry and exit on one market
Create a Guided setup with OPEN and terminate, One position per instrument, and the market-wide grant off. Use either one coordinated ordinary OPEN/EXIT pair or one Continuous Pine alert with This strategy’s positions. The running source reuses its key. Each new entry creates a fresh lifecycle. The next OPEN is eligible only after Liftx establishes that earlier own work is complete. A locally emitted exit does not automatically permit another position, and rejected entries are not queued for later replay.BTC and ETH strategies in parallel
Choose one exchange link and either list the exact BTC and ETH catalog IDs or leave the instrument allowlist blank. Both modes can use one key for both markets. Give each market its own exact alert target and unique command/lifecycle identities. Ordering, single-position admission and exits remain instrument-scoped. Advanced supplies market-specific requests; Guided reuses literal saved prices and quantity assets, which must be valid for both targets. Use separate setups for independent strategies on the same instrument. If the BTC strategy’s chart uses a different venue’s feed, execution still targets its selected Liftx link. A BTCUSDT chart does not distinguish spot from a linear perpetual or another venue’s market; the catalog selection does.Two strategies on the same market
Use separate setups, such as trend and mean reversion, even on the same link/instrument. With the market-wide grant off, each strategy can terminate only its own positions. Revoking one key does not revoke the other setup. If both strategies intentionally share the market-wide grant, either can terminate the other’s matching positions when it selectsmarket. This is a deliberate authority decision, not accidental namespace leakage.
Pyramiding, DCA and multiple independent positions
Choose Multiple concurrent positions. Give every OPEN a fresh lifecycle reference. A group exit can terminate eligible positions from the setup; exact Pine exits can choose a specific retained reference. The confirmed-bar helper can create distinct entries over different bars when a group target is selected. Intrabar multi-entry strategies need their own stable per-event identities; the helper’s one-event-per-bar scheme is not sufficient for several distinct same-bar entries. The cap is per position. Aggregate exposure, margin consumption and combined portfolio loss are not capped by that setting. Use a separate state-aware risk controller for those limits.One position with an OPEN grid
Build multiple OPEN rows in Liftx. Guided mode imports the complete request; an Advanced sender supplies it in each OPEN signal and can use Position JSON in Trading to prepare it. Those rows belong to one lifecycle and share its protections. This differs from many independent positions: its cap applies to the combined normalized OPEN rows in that one position. Preserve row ordering and paired decimal arrays. Adapter batch and lot limits still apply. Terminating the lifecycle cancels pending rows and closes remaining exposure through the existing owner.SL, SLx, TP and rearrangement
Configure protections in the Liftx builder before a Guided import, or include them in the Advanced signal’s full request. Both modes retain the complete opening setup.
See complete fields and units and protection examples. A Pine chart’s own SL/TP visualization is not the active Liftx protection state.
Dynamic long and short entries
Advanced OPEN can carry a deliberate direction and full request for each fresh lifecycle. Long/short support depends on the account and registered instrument. A position’s direction and margin mode cannot be changed through modification. Guided mode opens its saved configuration; it does not interpret an alert’sbuy or sell placeholder to change side. Separate long/short Guided setups can express independent configurations. Concurrent hedging remains subject to the selected adapter/account’s actual capabilities.
Spot, linear and inverse instruments
Select the appropriate catalog instrument rather than adding amarket_type string to the webhook. The public request uses the existing exchange-neutral model, while adapters own supported order types, lot rules, contract conversion and account behavior.
Spot and linear caps use base units; inverse caps use quote-face units. Neither Pine contracts nor a quote spending amount automatically maps to that cap. Preserve the current builder’s quantity asset and relevant settlement/margin fields.
Exact protection modification
Use Advanced mode with modify permission and an exact lifecycle. Obtain current state through an API controller, map the publication into a full request, preserve OPEN rows/slots, then change the intended protections. A later authorized full modification can replace manual protection changes; coordinate a single decision owner or use revision fencing. Pine cannot fetch current Liftx position state. A cached opening request is insufficient after fills or manual edits. OPEN-order changes require the direct API; group modification is unsupported because positions can have different rows and generations.Market-wide risk exit
Create an intentionally scoped setup with terminate permission and the explicit market grant. Advanced mode can be exit-only without an opening request. Choose one exchange; instrument restrictions and the quantity cap are optional. Select the exact permitted instrument and All positions in this market in the Exit-only helper or ordinary EXIT. The signal captures up to 64 matching Liftx positions on that exact link/instrument, including manual and other strategies’ positions. It does not cancel future opens, pause competing strategies or cover other markets. Inspect every child receipt; mixed outcomes are possible. A new exit-only setup withstrategy targets only its own namespace, which may have no positions. It does not inherit another strategy’s BTC positions merely because the symbol matches.
Reversal with confirmed flatness
Terminate and reverse OPEN are separate intents. If the strategy requires the old position to be flat before opening the opposite direction, an API controller must observe completion and actual exposure first. Pine alone cannot establish that condition from the webhook response or emulator position. Do not implement an automatic “close failed, so place an opposite trade” compensation. An uncertain outcome requires inspection, not another potentially exposure-changing instruction.Multi-timeframe, multi-symbol and watchlist signals
Pine may derive conditions from supportedrequest.* data. Every emitted command names one exact permitted instrument and the setup’s selected exchange link. One setup can serve several instruments; preserve one coordinated producer and increasing sequence per instrument. Generated scripts target one chosen instrument each. Independent strategies on the same instrument need separate setups.
A watchlist or chart symbol change does not widen authority. A TradingView key remains limited to its selected exchange link and optional instrument allowlist; chart aliases never select the execution market. A portfolio controller using the API is the appropriate place for authenticated multi-account discovery and current-state coordination.
Operational changes and outages
Use troubleshooting for transport, events and error details.