# Set up indicator

This is a separate guide on how to set up the environment to write your custom indicator for FTO.

To to use our custom indicator API, you need to first download indicator example. You can find some of the examples [here](https://fto-2.gitbook.io/fto-indicators-docs/download-indicator-examples) or download the suggested example file below.

Open it with Cursor or any IDE of your choice — we suggest Cursor. Then, by clicking the icon shown in Picture #1, open the terminal and install the dependencies using the command `npm install`.

<figure><img src="https://143033411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvIxxwCB45eSMhYSnbt1g%2Fuploads%2Fgit-blob-a19c3e20e9e0dbc75bf62da0795e75e5ffded71b%2Fimage.png?alt=media" alt=""><figcaption><p>Picture #1</p></figcaption></figure>

\
After installing the dependencies, build the project using the command `npm run build`.

{% hint style="success" %}
If you get an error that goes like this:

```
cannot be loaded because running scripts is disabled on this system.
For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1
```

Then you need to enter command `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser` and then try`npm install` and then `npm run build` command again.
{% endhint %}

After building the project, a file `my-indicator-project.js` (Indicator file name) will appear in the `dist` folder.

If you want to know how to upload your indicator to FTO, you can go to [upload guide](https://fto-2.gitbook.io/fto-indicators-docs/upload-indicator-to-fto).


---

# 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://fto-2.gitbook.io/fto-indicators-docs/set-up-indicator.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.
