# Custom signal

Custom signals are used for very particular events and advanced strategies. If there is a particular event, you can use a custom signal to dissociate it from others signals, but it works the same way!

To create a custom signal, click here:  <img src="/files/sVzAGR2U7Pk3kvZxpjEI" alt="" data-size="original">

<figure><img src="/files/2UWkxStFVfveXaDoUkr4" alt="" width="364"><figcaption><p>Signals and selectors creation box</p></figcaption></figure>

***

*Ex:* [ Entry in position rules](/triggers-boxes/entry-in-position-rules.md) *enter a trade if \[There is a minimum of 2 long signals] \[There is a minimum of 1 custom signal]*\
\&#xNAN;***Indicators Box** \[Long signal if MACD turns bull] \[Long signal if RSI hits 25] \[Custom signal if RSI hits 10]*

*In this example, you want your general strategy to open a long position if you meet 2 long signals at the same time.* \
*However, you feel very bullish when the RSI hits 10, so you want to long now and don't want to wait for a second signal to buy (which is MACD turns bull here).*

*If RSI = 25, MACD = bear, the bot will not open any position*

*If RSI = 25, MACD = bull, the bot will open a long position*

*If RSI = 10, MACD = bear, the bot will open a long position*

You can use that feature for many others situations, feel free to try it in others boxes and tools too!

***

Tips about custom signals:

* Minimum custom signal = 2 is equivalent to "AND"
* Minimum custom signal = 1 is equivalent to "OR"
* Minimum custom signal = 1 and Maximum custom signal = 1 is equivalent to "XOR"
* Maximum custom signal = 0 is equivalent to "NOT"


---

# 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/how-it-works/signal-list/custom-signal.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.
