âĄTutorial: Open and upload indicator
Ready to see your hard work come alive? This tutorial shows you how to open your indicator project and upload it into Forex Tester Online so you can test it in action.
1. Download and Install Cursor
First, grab the Cursor editor from cursor.com/downloads.
Run the installer and, when it asks about options, tick all the checkboxes â trust us, youâll want those extras (see Picture #1).
Think of it like ordering pizza with all the toppings. The more boxes you check, the more powerful Cursor becomes.

2. Install Node.js and Get the Example Project
Next up, youâll need Node.js. If you donât already have it, grab it here: nodejs.org.
Run the installer and follow the steps â nothing fancy.
Once Node.js is ready, download the indicator example archive weâve provided below and extract it to a convenient spot. Desktop, Downloads â anywhere youâll remember.
Tip: Keep it somewhere easy to find â weâll open it in Cursor soon.
3. Open the Project in Cursor
Once youâve unzipped the archive, open the Moving Average folder.
Inside, youâll find another folder called custom_indicator â thatâs where the action is.
Open it with Cursor (see Picture #2 and #3).
Tip: If you see those folders exactly as described, youâre in the right place. Cursor is now ready to load your project.


4. Trust the Authors
If a pop-up appears saying something like âDo you trust the authors?â, donât panic. Itâs just Cursor being cautious.
Click âYes, I trust the authorsâ â this simply lets the IDE know itâs safe to open the files.
Tip: This is a normal step whenever you open a project for the first time. Cursor just wants to make sure youâre cool with the code youâre about to run.

5. Open the Terminal and Install Dependencies
Next, click the little terminal icon (see Picture #5) â itâs your gateway to the behind-the-scenes magic. Once itâs open, type this command and hit Enter:
npm installThis will download and set up everything your indicator needs to run. Think of it as unpacking your toolbox before you start building.
Tip: If your screen starts showing a bunch of green and white text, youâre doing great â Cursor is fetching all the right pieces.

6. Start Writing and Build Your Indicator
Once the dependencies are installed, itâs showtime â open the index.ts file and start coding your indicator. This is your playground: add logic, tweak parameters, and let your creativity flow. When youâre happy with your code, itâs time to turn it into something FTO can actually use.
Open the terminal again and run:
npm run buildIf 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:1Then you need to enter command Set-ExecutionPolicy RemoteSigned -Scope CurrentUser and then trynpm install and then npm run build command again.
7. Find Your Finished Indicator
Once the build is complete, youâll see a shiny new file appear in your dist folder called my-indicator-project.js (or whatever name you gave it). This is your ready-to-use indicator â the one youâll upload into Forex Tester Online.
Tip: Donât move or rename it yet; FTO expects it just like this when you upload.
Upload this file to the FTO (Picture #6 and #7).


Once youâve uploaded the file, your indicator will appear in the âMy Indicatorsâ dropdown menu (see Picture #8).
From here, itâs just a click away: pick your indicator, apply it, and watch it show up on your chart.

Thatâs a wrap!
Youâve gone from setting up Cursor to building, uploading, and running your own custom indicator in Forex Tester Online. Now you know how to prepare your environment, guide the AI, and see your work come to life on a chart. Keep experimenting, keep refining, and if you ever get stuck, teams like 4xdev.com are there to help. Build more, debug less, and enjoy the process!
Last updated