# Maximum number of signals

<figure><img src="/files/ffRABn9i0V4DKpjj7lVO" alt=""><figcaption></figcaption></figure>

**Enter a trade if there is a maximum of x cancel signals.** &#x20;

*Ex 1: \[There is a maximum of 0 cancel signals]*\
&#x20;*The general strategy triggers 1 long signal, 0 cancel signal.* \
*-> The bot opens a long position.*

\
*Ex 2: \[There is a maximum of 0 cancel signals]* \
*The general strategy triggers 1 long signal, 1 cancel signal.* \
*-> The bot will not open any position.*

\
*Ex 3: \[There is a maximum of 1 cancel signals]*\
*The general strategy triggers 1 long signal, 1 cancel signal.* \
*-> The bot opens a long position.*

\
*Ex 4: \[There is a maximum of 2 cancel signals]*\
*The general strategy triggers 1 long signal, 3 cancels signals.* \
*-> The bot will not open any position.*


---

# 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://docs.runbot.io/triggers-boxes/entry-in-position-rules/maximum-number-of-signals.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.
