# P/L threshold for timeout exit

* **0 (Disabled):**\
  By default, when set to 0 (losers only), the EA will close the trade in drawdown.
* **Custom Value**:  (e.g., 10, -5, etc.)\
  If the trade’s current profit/loss is **less than or equal to** this value, the trade may be closed automatically.\
  [Maximum time a trade may remain open, in minutes](/smartchoise-manual/options/trade-timeout-exit/maximum-time-a-trade-may-remain-open-in-minutes.md) needs to be higher than 0 for this setting to have any effect

{% hint style="success" %}

#### **Usage notes**

* A value of `0.0` means the timeout exit targets losing trades only.
* A positive value allows the EA to also close trades with very small profit if they are still below the desired result.
* A negative value makes the timeout logic more tolerant by allowing a larger temporary loss before exit.
  {% endhint %}

{% hint style="warning" %}

#### **Example**

* `0.0` → close only losing trades after timeout
* `5.0` → close trades with profit/loss of `5.0` or less after timeout
* `-10.0` → close only trades with loss of `10.0` or worse after timeout
  {% endhint %}


---

# Agent Instructions: 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:

```
GET https://smartchoise.gitbook.io/smartchoise-manual/options/trade-timeout-exit/p-l-threshold-for-timeout-exit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
