# Connecting the TradingView indicator or strategy to Binance / OKX

Connecting **TradingView** signals differs based on source type: strategy or indicator.

Two signals need to be created on **TradingView** platform for [**indicators**](#indicator), as they can only send a single **Buy** or **Sell** signal.

А [**strategy** ](#strategy)can send both **Buy** and **Sell** messages  in 1 signal.

**Finandy** requires only **1 connection** to receive signals for both buying and selling, and place the corresponding orders on Binance or Finandy exchange. Follow our visual guide to connect your TradingView indicator or strategy to Finandy and trade automatically.

## How to connect TradingView Indicator to Binance/OKX?

{% hint style="info" %}
In **Finandy**, a single connection receives **TradingView** signals for both buying and selling.
{% endhint %}

### **Finandy Setup**

Create a signal connection (webhook) in Finandy.

<figure><img src="/files/kVLgzyNmRY6j1rcwyX96" alt="" width="250"><figcaption></figcaption></figure>

Copy **URL** and **Signal message**.

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

### TradingView Setup

{% hint style="info" %}
Remember that a signal is specific to a certain timeframe, such as the 5-minute chart for a currency pair.
{% endhint %}

#### Buying

Click the button to create new signal.

<figure><img src="/files/0ub4lS0TEKPnaLo07mzM" alt="" width="353"><figcaption></figcaption></figure>

1. Select chart's indicator
2. Select <mark style="color:green;">**BUY**</mark> signal condition
3. Name the signal, for example, "**ETHUSDT buy"**
4. Paste **Message** from **Finandy** settings

<figure><img src="/files/APuFf13ILVVcQmlcG0yv" alt="" width="563"><figcaption></figcaption></figure>

Switch to "**Notifications**" tab (1), paste **URL** (2) from Finandy settings, and click **Create** signal button (3).

<figure><img src="/files/tJ9oLFOAVqGQri0K5Lxl" alt="" width="563"><figcaption></figcaption></figure>

#### Selling

Click the button to create new signal.​

<figure><img src="/files/Q2mXUEO4F8kgw3RzpqMr" alt="" width="353"><figcaption></figcaption></figure>

1. Select chart's indicator
2. Select <mark style="color:red;">**SELL**</mark> signal condition
3. Name the signal, for example, "**ETHUSDT sell**"
4. Paste **Message** from **Finandy** settings
5. Change **message**

```
"side": "buy",
```

to

```
"side": "sell",
```

<figure><img src="/files/LpgKBqZi1HRv9EP7Mw54" alt="" width="563"><figcaption></figcaption></figure>

Switch to "**Notifications**" tab (1), paste **URL** (2) from Finandy settings, and click **Create** signal button (3).​

<figure><img src="/files/rh78IkYPH4h1k5c5c7m8" alt="" width="563"><figcaption></figcaption></figure>

## How to connect TradingView Strategy to Binance/OKX?

### Finandy setup

Create a signal connection (webhook) in Finandy.

<figure><img src="/files/xoNPpQMA1GTk1vYIJQZY" alt="" width="250"><figcaption></figcaption></figure>

Set "**PositionSide: Strategy**" (1) and "**OrderSide: Strategy**" (2) as shown in the image and **Save** (3).

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

Copy **URL** and **Signal** message.​​

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

### TradingView Setup

Click button to a create signal.

<figure><img src="/files/jQobEuepdoRx6IohfJ50" alt="" width="530"><figcaption></figcaption></figure>

1. Select the strategy added to chart
2. Name signal, for example, "**ETHUSDT. Strategy**"
3. Paste **Message** from **Finandy** settings

<figure><img src="/files/pa9ZRKj5tg2R2y9lo5nN" alt="" width="563"><figcaption></figcaption></figure>

Switch to "**Notifications**" tab (1), paste **URL** (2) from Finandy settings, and click **Create** signal button (3).

<figure><img src="/files/4dZCJeVAm41nIWmM67rC" alt="" width="563"><figcaption></figcaption></figure>

**Any questions? We can help 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/connection-and-configuration/indicator-strategy-connection.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.
