> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# Set Up

Our first tutorial covered using the [Strategy Builder](https://ninjatrader.com/support/helpGuides/nt8/?strategy_builder.htm) to create simple NinjaScript strategies or to build the framework needed for a more complex strategy.

This tutorial will cover another approach, using the NinjaScript [Editor](/developer/desktop-sdk/guides/ninjascript-editor-overview) and [New Strategy Wizard](/developer/desktop-sdk/guides/ninjascript-editor-overview/ninjascript-wizard).

1. Within the NinjaTrader Control Center window select the New NinjaScript Editor... menu item

![NSTutControlCenter](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/656c47e39726d61fc9e20408904e94aefe3f574b18e4a966540c4a3e0137d89c/docs/assets/developer/desktop-sdk/shared/nstutcontrolcenter.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062258Z&X-Amz-Expires=604800&X-Amz-Signature=bc7b87f1296f3891ef86a1ca75a3be415f625d51b922fbc17f44b29d1125b4a1&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

![NSTutControlCenter2](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/892c806d4a4729a3d7917b6081eda9de2e5c8df2c10500f769595111dd4c9b22/docs/assets/developer/desktop-sdk/shared/nstutcontrolcenter2.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062258Z&X-Amz-Expires=604800&X-Amz-Signature=ad7a8a001714ea7c76583c3a9257e21ffe636bb03a26cb1df3587b14e57cd3cf&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

2. Click the "+" tab in the lower left, and select New Strategy to open a New Strategy Wizard

![RSIwithStopAndTargetSetUp1](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/b9de2ea316ea0730ef78b8be70db75ff81fbc9e9e8dd7228d3246222c69d2d22/docs/assets/developer/desktop-sdk/shared/rsiwithstopandtargetsetup1.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062258Z&X-Amz-Expires=604800&X-Amz-Signature=8251c0a8735788481a9a79a102b9bff3adc91728f0a663fcbb82af0a4f37c132&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

3. Enter the information as shown below

4. Press the "Next >" button until we are at the Inputs and Parameters page

![RSIwithStopAndTargetSetUp2](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/91b14681f2e9faf81223e01a1bf285cb8302dbd79366194b75e12bec70e98a34/docs/assets/developer/desktop-sdk/shared/rsiwithstopandtargetsetup2.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062258Z&X-Amz-Expires=604800&X-Amz-Signature=49d4bb191364b094bb59f3ac2307bad71b57339c5d1a5b84a72d062d2d4b8516&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

## Defining Input Parameters

Below you will define your strategy's input parameters. These are any input parameters that can be changed by the user when running or backtesting a strategy. If your strategy does not require any parameters leave the "Name" fields blank.

5. Click the add button to create a User Input Parameter (See item 1 in the screenshot below)

6. Fill out the Input Parameters window and click OK to create the input parameter (See item 2 in the screenshot below)

![RSIwithStopAndTargetSetUp3](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/f765f393e47996ac263c36c04e08d015e0a9ad06aee9e0f1d872886c5b7237a0/docs/assets/developer/desktop-sdk/shared/rsiwithstopandtargetsetup3.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062258Z&X-Amz-Expires=604800&X-Amz-Signature=7c60e6ddcbc014081726ec1e7b993d86d8fe51fd054ae305bd463fcb94f1ab6f&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

7. Add the inputs as per the image below

![RSIwithStopAndTargetSetUp4](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/cb7c8df9310b461ed77c7c1b3650efff18d222f31a6dc528e9c257ae9fc3ff4a/docs/assets/developer/desktop-sdk/shared/rsiwithstopandtargetsetup4.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062258Z&X-Amz-Expires=604800&X-Amz-Signature=5221c14b8018fb3dd5b63ec71a64908669454b80cc635f0f0416015473498263&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

8. Press the "Generate" button to generate the code in the NinjaScript Editor.

You are now ready to continue to the [Entering Strategy Logic](/developer/desktop-sdk/guides/educational-resources/developing-strategies/intermediate-rsi-with-stop-loss-profit-target/entering-strategy-logic) page of this tutorial.