> For the complete documentation index, see [llms.txt](https://avstrade.gitbook.io/avstrade-docs-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://avstrade.gitbook.io/avstrade-docs-en/trading/algorithmic-orders/limit-turn.md).

# Limit Turn

&#x20;![](/files/10F4mCFuRrzUMrTE6JBE)![](/files/J6ELjQuDhWiEH7h3wcJ9)

&#x20;**Limit Turn Order Algorithm**

Buy Limit Turn --- is a trigger order, after triggering of which, a limit order is placed. When the market reaches the trigger price, the algorithm for order placement conditions is activated:&#x20;

1. When the trigger price is reached (example: in the time period parameters, H1 is selected), the trigger waits for the price to be closed at H1, the price has been closed above the trigger at H1 (in this case, the tool price did not cross the level of cancellation), the Buy Limit order is placed at the trigger price.
2. When the trigger price is reached (example: in the time period parameters, H1 is selected) the price has been closed at H1 below the set trigger, but has not reached the cancellation level, the Buy Limit order is in standby mode until the price at H1 is closed above the trigger. As soon as the price is closed higher, the Buy Limit order is placed at the trigger price (provided that the tool price has not crossed the cancellation level, crossing the cancellation level cancels the order).
3. When the trigger price is reached (example: in the time period parameters, H1 is selected) the price at H1 has been closed below the trigger and crossed the cancellation level, the Buy Limit order is canceled.

Order execution is possible only when there are funds on deposit and the market reaches the trigger price. Partial order filling and subsequent closing of a partial order by Take Profit leads to canceling an unfilled order.

Note: the Buy Limit Turn order does not block the deposit.

An example of how an order works - the algorithm has triggered, the order has been placed.

<figure><img src="/files/Jzv5MmauU08vhBeqcJ1w" alt="" width="300"><figcaption></figcaption></figure>

An example of how an order works - the algorithm has triggered, the order has been cancelled.

<figure><img src="/files/xAQ0Lq0o5Qiynux01Al8" alt="" width="300"><figcaption></figcaption></figure>

Sell Limit Turn --- is a trigger order, after triggering of which, a limit order is placed. When the market reaches the trigger price, the algorithm for order placement conditions is activated:&#x20;

1. When the trigger price is reached (example: in the time period parameters, H1 is selected), the trigger waits for the price to be closed at H1, the price has been closed below the trigger at H1 (in this case, the tool price did not cross the level of cancellation), the Sell Limit order is placed at the trigger price.
2. When the trigger price is reached (example: in the time period parameters, H1 is selected) the price has been closed at H1 above the set trigger, but has not reached the cancellation level, the Sell Limit order is in standby mode until the price at H1 is closed below the trigger. As soon as the price is closed below, the Sell Limit order is placed at the trigger price (provided that the tool price has not crossed the cancellation level, crossing the cancellation level cancels the order).
3. When the trigger price is reached (example: in the time period parameters, H1 is selected) the price at H1 has been closed above the trigger and crossed the cancellation level, the Sell Limit order is canceled.

Order execution is possible only when there are funds on deposit and the market reaches the trigger price. Partial order filling and subsequent closing of a partial order by Take Profit leads to canceling an unfilled order.

Note: the Sell Turn Limit order does not block the deposit.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://avstrade.gitbook.io/avstrade-docs-en/trading/algorithmic-orders/limit-turn.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
