# Pionex

### Step 1

First, you need to register for [Pionex](https://www.pionex.com/en/sign/ref/3cEenduF) (get 20 % rebate from trading fees using our [link](https://www.pionex.com/en/sign/ref/3cEenduF)).

### Step 2

Next, log in or go to [Pionex](https://www.pionex.com/en/sign/ref/3cEenduF) and click on the *Trade* button on the top.

<figure><img src="/files/8C5SA6lldqUjjMAnGGan" alt=""><figcaption></figcaption></figure>

### Step 3

Scroll down and select *Signal Bot.*

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

### Step 4

Click *+ Tradingview custom signal.*

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

### Step 5

You will see the following screen popping up.

Give a name to your signal and click Continue.

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

{% hint style="info" %}
You do not need to watch the videos showing up, as we will cover these in this guide.
{% endhint %}

### Step 6

You will see *Webhook URL* and *Message,* you will need these later for Tradingview Alert.

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

### Step 7

Open Tradingview in a new tab, set the trading pair and timeframe, and add one of our PREMIUM scripts to the chart. Open the script settings, then scroll down to the Base Setups Part.

Set the *Order size* to *100* and *type* to *Cash.*

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

### Step 8

Click Properties tab on the top.

<figure><img src="/files/6SKjTncEABs49nHMt3E2" alt=""><figcaption></figcaption></figure>

### Step 9

Set the following values:

* **Initial Capital**: 100
* **Order Size**: 100
* **Order Size Type**: USDT
* **Pyramiding**: 1
* **Commission**: 0.05
* **Commission Type**: %

Then click *Ok* button in the bottom.

{% hint style="info" %}
Please be aware, that these settings are not being used, they just need to be set in order to send the alert messages properly.
{% endhint %}

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

### Step 10

Click *Alert* button in the top right corner and then the *Create Alert* button.

<figure><img src="/files/3ZISvZKOF7N8jQPH1mlj" alt=""><figcaption></figcaption></figure>

### Step 11

On the following screen for *Condition* select your strategy give a name to the alert and into the message field copy the Alert message that you got in [Step 6.](#step-6)

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

### Step 12

Next click *Notifications* and tick *Webhook URL* and copy [Pionex](https://www.pionex.com/en/sign/ref/3cEenduF)'s Webhook URL that you got in [Step 6.](#step-6)

Then click *Create* Button.

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

### Step 13

Now go back to [Pionex](https://www.pionex.com/en/sign/ref/3cEenduF) tick *"I have finished setting up alerts" and click Confirm.*

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

### Step 14

Click "*Use This Signal"*.

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

### Step 15

On the left, you will have the choose the *Trading pair* and *Investment amount*, that you want the bot to trade. Then click the highlighted button to start trading.

{% hint style="info" %}
You can also set levarage, but remember that leveraging trades can potentially amplify your profits, but be cautious as it also increases your risk exponentially.
{% endhint %}

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

**Congratulations! You now have a running script!**


---

# 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.tradesmartalgo.com/guides/how-to-connect-3rd-party-tools/pionex.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.
