Tutorial: Open and upload indicator

This page will guide you how to install Cursor IDE and how to upload your custom indicator to FTO.

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

Picture #1

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.

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).

Picture #2
Picture #3

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

Picture #4

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

Picture #5

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.

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).

Picture #6
Picture #7

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

Picture #8

Last updated