# 新增快訊

當你完成了[快訊設定](/touchance/tradingview-kuai-xun-zi-dong-jiao-yi/zi-dong-jiao-yi/kuai-xun-she-ding-yue-ming.md)需要的相關步驟後，我們就可以開始設定快訊。

## 套用策略

{% hint style="info" %}
達錢加入的任何程式碼皆依循 TradingView 官方的 PineScript 規則與機制，因此有任何編譯上的問題，或是 AlertMessage 語法上的使用，請參考 TradingView 官方的技術文件。

[Trading View Pine Script V5 ](https://www.tradingview.com/pine-script-docs/v5/welcome/)
{% endhint %}

將策略更新并且套用到圖表後，我們可以看到訊號正確的產生。

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

## 設定快訊

{% hint style="warning" %}
設定快訊前，請務必確認交易格式内設定的“交易帳號(account)”與“交易商品(sym)”正確無誤，當你啓動快訊下單，達錢便會開始依據獲取的交易資訊開始下單。
{% endhint %}

{% hint style="info" %}
測試時，你可以故意將交易帳號設定為隨意字串，例如：account=test-account，那麽當觸發下單時，便會出現“交易帳號未連線的資訊”，借此觀察策略與委託是否符合預期，確認無誤再進行自動交易。
{% endhint %}

1. 打開快訊功能功能頁簽，點擊快訊頁簽。

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

2. 新增快訊
   1. 點擊 + 按鈕
   2. 選擇你加入的策略名稱

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

3. 詳細設定説明
   1. 確認選擇的是策略名稱
   2. 到期日設定
      1. 除了 Premium 的版本可以不限制到期日，其他都有 2 個月的長度限制。
   3. 快訊名稱：不用設定
   4. 訊息：不用調整

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

4. 按下 Create 完成快訊設定

{% hint style="info" %}
新增完成快訊後，你的 TradingView 即可開始收取在 **TradingView 雲端主機運算的策略結果**，結果會顯示&#x5728;**“日誌”**，但此時還僅是能收取快訊無法自動交易。

要開始“自動交易”，請參考下一個章節説明。
{% endhint %}

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


---

# 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://touchance-1.gitbook.io/touchance/tradingview-kuai-xun-zi-dong-jiao-yi/zi-dong-jiao-yi/xin-zeng-kuai-xun.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.
