# Actualizar los ajustes por señal

Si es necesario actualizar los ajustes del módulo en una posición abierta, envíe una señal que contenga "**update": true** en los parámetros del módulo del mensaje de señal.

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/f98cf898-8822-460b-834e-84fe382bdc9e/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Si es necesario actualizar los parámetros del módulo y promediar la posición, envie 2 señales, una de las cuales actualizará el módulo y la otra promediará la posición.
{% endhint %}

### Ejemplo de actualización del Take Profit

* Es obligatorio activar "`update": true` en la configuración del módulo **TP.**

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/1a34b1b8-a918-4178-af42-c98e2cb4aae8/image.png" alt=""><figcaption></figcaption></figure>

* Para actualizar simplemente por precio - añada el parámetro "<mark style="color:yellow;">price</mark>" a los ajustes de Take Profit:

```
{
  "name": "Hook 123",
  "secret": "234",
  "side": "buy",
  "symbol": "XRPUSDT",
  "tp": {
    "orders": [
      {
        "price": "0.326"
      },
      {
        "price": "0.329"
      },
      {
        "price": "0.331"
      }
    ],
    "update": true
  }
}

```

* Para actualizar el porcentaje, inserte el porcentaje deseado en el campo "<mark style="color:yellow;">ofs</mark>" del módulo TP y añada el parámetro "<mark style="color:yellow;">price</mark>" con datos vacíos, por ejemplo:

```
{
  "name": "Hook 123",
  "secret": "234",
  "side": "buy",
  "symbol": "XRPUSDT",
  "tp": {
    "orders": [
      {
        "ofs": "2",
        "price": "",
        "piece": "33.3"
      },
      {
        "ofs": "3.0",
        "price": "",
        "piece": "33.3"
      },
      {
        "ofs": "4",
        "price": "",
        "piece": "33.4"
      }
    ],
    "update": true
  }
}

```

**¿Tiene alguna duda? Podemos ayudarle en nuestro chat de Telegram.**

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


---

# 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/es/algo-trading/signals-tradingview/update-settings-by-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.
