πŸš€(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/downloadsarrow-up-right 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).

Picture #1

2. Get Node.js and Your Strategy

Next up β€” install Node.jsarrow-up-right 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).

Picture #2
Picture #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).

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.

Picture #5

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!

Picture 6

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.

circle-check

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.

Picture 7

10. Run It in Forex Tester Online (FTO)

Alright, strategy’s built β€” now let’s bring it to life inside FTO Webarrow-up-right.

10.1 Log In and Create a Project

Head over to https://app.forextester.com/arrow-up-right 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”

circle-exclamation
  • 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.

Picture #8
Picture #9
Picture #10

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)

Picture 11
Picture 11
Picture 12
Picture 13

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