[Canonical HTML article](https://algoway.trade/blog/tradelocker-cancel-pending-order.html)

# **Cancel TradeLocker Pending Orders Without Reopening**

![Pending order cancellation beside a filled position and a paused incoming signal path](https://algoway.trade/static/img/blog-img/tradelocker-cancel-pending-order.jpg)

Published December 2, 2026

**Yes. If an order sent through AlgoWay is still pending in TradeLocker, you can cancel it in TradeLocker's Trades panel.** Check the Pending tab, select the correct order, and use its close/cancel action. If it has already filled, you have a position to manage instead. Cancelling an order also does not switch off the TradingView alert that created it.

In [AlgoWay's TradingView-to-TradeLocker workflow](https://algoway.trade/tradingview-to-tradelocker), a webhook carries an instruction to the connected account. The resulting order has its own lifecycle at the destination. Manual intervention therefore needs two checks: what remains in TradeLocker, and what the signal source may send next. A cancelled ticket is not a stopped strategy.

## Cancel the pending ticket, then check the account

TradeLocker separates new-order entry from management of existing trades. Its [current order-panel guide](https://support.tradelocker.com/en/articles/14008576-placing-trades) identifies the Trades panel as the place to manage positions and cancel pending orders. Its [closing instructions](https://tradelocker.com/how-to/close-position/) direct users to the Pending tab for a pending ticket.

1. Confirm the broker account and instrument. If several orders use the same symbol, compare direction, requested quantity and entry price before selecting one.

2. Open the Trades panel and its Pending tab. Select the intended order and use the close/cancel control. Complete the confirmation if one appears.

3. Refresh your view of pending orders and inspect trade history. Check the Positions tab too, especially if price was approaching the entry while you cancelled.

4. Record the final state before sending a replacement instruction. A vanished row alone does not tell you whether the order was cancelled or filled.

TradeLocker's [cancellation reference](https://public-api.tradelocker.com/reference/cancelorder) restricts order cancellation to orders that have not executed. This is the important boundary: a cancellation request cannot undo a fill that has already occurred.

## Three states that need different decisions

- **Pending order still present:** execution is still possible. Check whether cancellation was accepted before assuming the account is clear.

- **Order cancelled, no associated position:** that ticket no longer supplies an entry. Other pending orders and other positions still need their own review.

- **Order filled, position present:** manage the position and its protection. If you intend to exit, closing the position is a separate action from cancelling the former entry order.

TradeLocker's [order-versus-position explanation](https://public-api.tradelocker.com/docs/difference-between-orderid-and-positionid) describes how a filled order moves out of the active-order list into order history. That is why checking only Pending can produce a very confident, very wrong answer.

## Why another order can appear after cancellation

Consider an illustrative sequence, not a recorded trade: a TradingView alert sends a limit-entry instruction through AlgoWay; TradeLocker accepts the pending order; you cancel it because the setup is no longer wanted. Later, the source sends another entry instruction. The earlier cancellation did not itself withdraw that later instruction.

AlgoWay's [TradeLocker setup guide](https://docs.algoway.trade/tradeLocker-setup-guide.html) documents the relevant message fields: `platform_name` selects `tradelocker`, `ticker` identifies the symbol, `order_action` supplies direction, and `order_contracts` supplies quantity. Pending-entry messages add `order_type` and `price`. Inspect these fields in a subsequent log entry to distinguish a fresh entry request from the original pending ticket.

Do not infer that a chart marker has disappeared because you cancelled at the broker. [Pine strategies simulate their own orders and positions](https://www.tradingview.com/pine-script-docs/concepts/strategies/). Their simulated state is a separate record from the TradeLocker account. The related guide to [manual closes and TradingView strategy state](https://algoway.trade/blog/manual-close-tradingview-strategy-state.html) explains the same separation after a filled position is closed.

## If the goal is to stop the setup completely

First decide whether you want to cancel one ticket or retire the entire setup. For the latter, stop the relevant entry alerts at their source, then review the destination account. A request already in flight still needs reconciliation. If entries and exits share one alert, stopping that alert also stops its future exit messages; check protection for any remaining positions directly in TradeLocker.

Review AlgoWay Webhook Logs alongside TradeLocker order history. Match the symbol, direction, size and timing. If another order appears, ask whether there was a new incoming instruction before treating it as a failed cancellation. Avoid sending a speculative opposite-side trade to repair an uncertain state.

Before resuming, make the intended position explicit, inspect all remaining pending tickets for that setup, and test the intervention on a demo account with the same alert format. These steps are a verification procedure, not a claim that the connector automatically synchronizes a manual cancellation back into Pine. Resume when you can explain what the next message will ask the account to do.
