# Hedging

## Indicator

{% hint style="danger" %}
In hedging mode, when setting the position type to "**Both**", the closing signal <mark style="color:red;">**will not**</mark> be recognized correctly.

​![](https://t24536365.p.clickup-attachments.com/t24536365/f4c8a6ec-88cc-4b7a-b5e9-deac8c22c32f/image.png)
{% endhint %}

The indicator is designed for one-way mode only (without hedging).&#x20;

If hedging mode is enabled, specify "**Long Only**" or "**Short Only**" in the Position parameter.

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/86f01231-df9c-42dd-9426-cdd68968b3bf/image.png" alt=""><figcaption></figcaption></figure>

## Strategy

Set "**PositionSide: Strategy**" (1) and "**Order: Strategy**" (2) as shown in image and **save** (3).

<figure><img src="https://t24536365.p.clickup-attachments.com/t24536365/50693727-828f-463d-b091-3adf21d1d34a/image.png" alt=""><figcaption></figcaption></figure>

**Do you have any questions? Let us help you in our Telegram chat room.**

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