> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/terminal/counter-order.md). Agents can also search and read this documentation through its [MCP server](https://docs.origami.tech/~gitbook/mcp).

# Counter Order

Place the opposite order for a fill straight from the Percept chart — click a trade marker or select a time range, then set size and price offset.

A Counter Order is the order that closes or reverses a fill you already have on the chart: you bought 0.2 BTC at 94,100 — a counter order sells 0.2 BTC 2% higher. It starts from the fill marker on **Chart Percept**, so you do not retype price and size.

{% hint style="info" %}
Counter Order is being rolled out. If clicking a trade marker does nothing, it is not enabled for your environment yet.
{% endhint %}

## Start from one fill

1. On Chart Percept, click a trade marker (**B** or **S** bubble). Markers are drawn when **Trade History** is on in the chart gear menu.
2. The Counter Order popup opens with the fill summary: side, size, average price and number of orders (`· 3 ord.`).
3. Set the **Amount** — **25%**, **50%**, **75%**, **100%** of the fill, or type a quantity.
4. Set the price relative to the fill's average: **AVG**, **+1%** / **−1%** …, or **custom %**. The default offset is 2% on the profitable side. Alternatively type an exact value under **or price**.
5. Pick the type: **Limit**, **Market**, or **Algo** → **Scaled**, **Chase**, **TWAP**, **VWAP**.
6. Click **Fill …** (for example **Fill Limit Sell 0.2 @ 95,982 (limit)**). The values are copied into [Manual Orders](https://docs.origami.tech/terminal/manual-orders.md), where you review and submit.

For Scaled the price section becomes **Start · above/below avg** and fills the start price; set the end price in Manual Orders.

## Start from a time range

1. Hold **Ctrl** (Windows/Linux) or **Cmd** (macOS) and drag across the chart.
2. A panel lists your fills in that range aggregated by side: *Buy 0.45 @ avg 93,870 · 4 ord.* If there are none: **No own fills in this range**.
3. Click an aggregate. The same Counter Order popup opens for the combined size and average price. **Esc** closes the panel.

## Counter several fills one by one

When the popup covers more than one fill, switch **Avg** to **By order**:

1. Tick the fills to counter (**Trades · 3/4**, **All**). At most **20 orders per batch**.
2. Set the common **Amount** percentage and price offset; each order gets its own price relative to its own fill.
3. Click **Review N limit orders**, check the list, then **Confirm · N**.

Orders are sent directly as limit orders (**Placed N limit order(s)**); they do not pass through Manual Orders. On One-Way futures accounts a counter order that closes a position is sent as Reduce-Only.

## Notes

* The **Account** list in the popup marks the account the fills belong to with **· fills**.
* Market and algo counter orders take size and side from the fill; the price offset is ignored.
* The chart itself does not move or cancel orders — do that in [Active Orders](https://docs.origami.tech/terminal/active-orders-and-history.md).

## Related

* [Charts](https://docs.origami.tech/terminal/charts.md)
* [Manual orders: Limit and Market](https://docs.origami.tech/terminal/manual-orders.md)
* [Algo orders: Chase, TWAP, VWAP](https://docs.origami.tech/terminal/algo-orders.md)
