> For the complete documentation index, see [llms.txt](https://fto-2.gitbook.io/fto-indicators-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fto-2.gitbook.io/fto-indicators-docs/setup-and-installation.md).

# Tutorial: Open and upload indicator

Download and install the Cursor editor: <https://www.cursor.com/downloads>, while installing make sure to check all the checkmarks (Picture #1)

<figure><img src="/files/I7LtHWlLEPZqycTOyHXD" alt=""><figcaption><p>Picture #1</p></figcaption></figure>

Then, you have to install Node.js if you don't already have it. Use the link below.\
<https://nodejs.org/en>

After installing node.js, download the archive with the indicator example below and extract it to a convenient location.

{% file src="/files/TFaBcjkMWjOd9Wv1X14Q" %}

Open the extracted folder **"Moving Average"** and inside of it you should find another folder **"custom\_indicator"**, open it with Cursor (Picture #2 and #3).

<div><figure><img src="/files/4M6rU15uIU6fg7hO9kWe" alt=""><figcaption><p>Picture #2</p></figcaption></figure> <figure><img src="/files/qduZ04NZdMpgKhBlIVbQ" alt=""><figcaption><p>Picture #3</p></figcaption></figure></div>

If you get a pop-up like this, click **"Yes, I trust the authors"**

<figure><img src="/files/VgIjYVW2LpMuK2hZAvUR" alt=""><figcaption><p>Picture #4</p></figcaption></figure>

Then, by clicking the icon shown on Picture #5 you should open the terminal and install the dependencies using the command `npm install`.

<figure><img src="/files/WBut5uGjZMgbIEmwCvpA" alt=""><figcaption><p>Picture #5</p></figcaption></figure>

\
After installing the dependencies, you can start writing your indicator in the `index.ts` file.

Once the implementation is complete, you can 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.

Upload this file to the FTO (Picture #6 and #7).

<div><figure><img src="/files/shGrcNZ47FMc0KWmYAsj" alt="" width="563"><figcaption><p>Picture #6</p></figcaption></figure> <figure><img src="/files/QlxebtW0zSnSaIsNKLNF" alt="" width="563"><figcaption><p>Picture #7</p></figcaption></figure></div>

From there, your indicator should appear in **"My Indicators"** dropdown menu (Picture #8).

<figure><img src="/files/PyshZbwA0Dagmx22c1mq" alt=""><figcaption><p>Picture #8</p></figcaption></figure>
