# 基礎介紹

Pine Script 是由 TradingView 開發的一種程式語言，用於編寫可以增加到圖表中並用於技術分析的專有指標和策略。

圖表的下部面板中有一個特殊的編輯器，專門用於編寫和編輯程式碼。此外，此編輯器可以用作自動突出顯示功能，旨在突出顯示變數、函數、和工具提示。本質上，它會自動突出顯示該語言的內建元件 (變數和函數)，並在彈出視窗中發送提示，以及當您將鼠標懸停在特定元件上時顯示的其他資訊。

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/43114862890/original/KsohEP_6IsKq5o1WP5Fs9_fPMI46naBSiw.png?1583577453)

可以將完成的指標增加到圖表，保存以備將來使用和編輯，或在公共指標庫中發布。

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/43114862896/original/Tm_23WkGqHbq73drSMZtW2zOuF5ngTqtWQ.png?1583577454)


---

# 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.grenade.tw/master.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.
