Tutorial: Open and upload indicator
This page will guide you how to install Cursor IDE and how to upload your custom indicator to FTO.
Last updated
This page will guide you how to install Cursor IDE and how to upload your custom indicator to FTO.
Last updated
Download and install the Cursor editor: , while installing make sure to check all the checkmarks (Picture #1)
Then, you have to install Node.js if you don't already have it. Use the link below.
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).
If you get a pop-up like this, click "Yes, I trust the authors"
Then, by clicking the icon shown on Picture #5 you should open the terminal and install the dependencies using the command npm install
.
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
.
If you get an error that goes like this:
Then you need to enter command Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
and then trynpm install
and then npm run build
command again.
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).
From there, your indicator should appear in "My Indicators" dropdown menu (Picture #8).