π(NEW)Tutorial: open and upload strategy
This page walks you through setting up Cursor IDE and uploading your custom strategy to FTO β no fuss, just clear steps and a sprinkle of magic.
Letβs Get You Set Up
Donβt worry β we know this looks like a lot of steps, but youβve got this!
Weβll walk you through everything, step by step, with screenshots, tips, and a sprinkle of good vibes.
By the end, youβll have your strategy up and running in FTO like a pro. Letβs roll!
1. Download and Install Cursor
Head over to cursor.com/downloads and grab the installer for your system.
During installation, make sure to tick all the checkboxes β trust us, youβll want those extras (see Picture #1).

2. Get Node.js and Your Strategy
Next up β install Node.js if you havenβt already. Cursor needs it to run your strategy behind the scenes.
Once thatβs done, download the strategy example archive and unzip it somewhere convenient. Desktop, Downloads, anywhere you can find it easily later.
You can find the strategy example in this section
3. Open the Strategy in Cursor
Now, open the extracted folder called MACrossover in Cursor.
You can either drag and drop the folder into the Cursor window or use File β Open Folder (see Pictures #2 and #3).


4. Trust the Authors
If you see a pop-up asking whether you trust the authors, go ahead and click βYes, I trust the authorsβ β itβs just Cursor making sure youβre cool with the code youβre opening (see Picture #4).

5. Open the Terminal
Next, click the icon shown in Picture #5 to open the terminal β itβs the little black box where the magic happens.

6. Install the Dependencies
Then, run the command:
This will install all the necessary dependencies β think of it as unpacking all the tools your strategy needs to work.
Grab a sip of coffee while it does its thing β it usually takes just a few seconds.
If your screen ends up looking like Picture #6, congratulations β youβre on the right track!

7. Write Your Strategy
After the dependencies are installed, itβs time to do what you came here for β write your brilliant strategy!
Open the index.ts file and start coding.
Need a hand? Cursorβs got your back.
If you want to learn how to use it like a pro while writing strategies for FTO, check out this guide: Create strategy with Cursor IDE.
8. Build the Project
Once your strategy is ready to roll, build the project by running:
Itβs like hitting βcompile,β but with more personality.
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.
9. Locate Your Strategy File
After building your project, youβll find a shiny new file called my-strategy-project.js inside the dist folder (Picture #7).
Thatβs your golden ticket.

10. Run It in Forex Tester Online (FTO)
Alright, strategyβs built β now letβs bring it to life inside FTO Web.
10.1 Log In and Create a Project
Head over to https://app.forextester.com/ and log in with your account.
Once youβre in:
Click on βProjectsβ in the left sidebar
Hit βCreate New Projectβ
Give it a name (something like βMy First Strategyβ works just fine)
Select your preferred symbol and timeframe
Click βCreateβ
FTO will set up the project with all the historical data for you β nice and easy.
10.2: Upload Your Strategy
Now the fun part β getting your .js file into the platform(see Pictures #8 and #9).
In your newly created project, click on the βStrategiesβ tab
Then hit βUpload Strategyβ
Heads up!
If a Privacy & Security window pops up, donβt panic β itβs just FTO making sure youβre okay with running custom code.
Give it a quick read, then hit βProceedβ to move forward.
Either drag and drop your my-strategy-project.js file into the gray area, or click the box to manually select one or more files to upload (see Picture #10). Easy does it.
Give it a name and short description if you want β or just roll with the defaults
Once uploaded, your strategy will appear in the list and be ready to use.



10.3 Attach the Strategy and Run
Almost there! Time to wake up your strategy and let it do its thing.
Click βUpload Strategyβ, pick your freshly uploaded strategy from the list, and hit βUse Strategyβ.
(See Picture #11 β yes, the one where your strategy finally feels chosen)
Next, youβll see a bunch of parameters: Lot Size, Magic Number, and the gang.
Tweak them if you like, or just roll with the defaults and click βApplyβ.
(Picture #12 β because sometimes default settings just get you)
Now, the fun part β smash that βRunβ button and watch the magic happen.
(See Picture #13 β the calm before the storm of trades)



And thatβs it β you made it all the way through!
From setting things up to uploading your very first strategy, youβve done an awesome job.
Big kudos for sticking with it β we know itβs a lot, but now youβve got the skills, the tools, and the confidence to build even more.
Keep going, keep experimenting, and hey β give yourself a high five. Youβve earned it.
Last updated