# Controlling an option in the signal

Orders are created based on Terminal settings and the received Signal message code.&#x20;

By default, order settings are taken from the saved Terminal settings, except for the currency pair and order direction (buy/sell).

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/ab1735e6-6cc0-47b2-89eb-4369ffe5cdc2/image.png" alt="" width="375"><figcaption></figcaption></figure>

If you want the signal to be a <mark style="color:green;">**buy**</mark> signal, manually change the signal message to **`"side": "buy"`** in Tradingview signal settings.

<figure><img src="/files/5ja1yjET3XxWP7J3ajxJ" alt="" width="375"><figcaption></figcaption></figure>

If you want the signal to be a <mark style="color:red;">**sell**</mark> signal, manually change the signal message to `"side": "sell`" in Tradingview signal settings.

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/cff6ce78-0ba2-47e3-b2e2-0f2626392d37/image.png" alt="" width="375"><figcaption></figcaption></figure>

​To manage the settings from the signal, you must check the box to the left of the header and save. The new message must be updated in the TradingView signal settings.

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/0e3c2210-3297-42ae-b0af-b948df9a0fd9/image.png" alt=""><figcaption></figcaption></figure>

In this example, **Order Volume** will be managed from the Signal message.

If you need to change the **Order Volume** to **500**, manually edit the value from **100** to **500** in the signal message and **Save**.

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

{% hint style="warning" %}
Unchecking the option's box in the Terminal and clicking "**Save**" applies the setting from the **Terminal**, even if the signal message code contains the option.

✅ If checked - option is applied from the received Signal message.

◻ If unchecked - option is applied from the Terminal settings.
{% endhint %}

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/c3c4bf5e-b4d3-4e83-89fb-e83ca4f0b0ac/image.png" alt=""><figcaption></figcaption></figure>

**Do you have any questions? We can help you in our Telegram chat.**

{% embed url="<https://t.me/finandy>" %}


---

# 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.finandy.com/algo-trading/signals-tradingview/controlling-an-option-in-the-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.
