> 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.

# Parameter sequencing

## Parameter sequencing

Indicator and strategy parameters (user defined inputs) will always be displayed in an order that the user specifies in the **NinjaScript** file.

In the **NinjaScript Editor**, expand the "Properties" region of your code where all of your parameters are defined. In this example, this will be our Properties section:

```csharp
[Range(1, int.MaxValue), NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "Fast", GroupName = "NinjaScriptStrategyParameters", Order = 0)]
public int Fast
{ get; set; }
```

```csharp
[Range(1, int.MaxValue), NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "Slow", GroupName = "NinjaScriptStrategyParameters", Order = 1)]
public int Slow
{ get; set;}
```

In this case, the **Fast** parameter will show up as the first parameter with the **Slow** parameter showing as the second.

To switch the order around, we could modify **Order**. If we change **Slow**'s **Order** to 0 and **Fast**'s **Order** to 1 as shown below ...

```csharp
[Range(1, int.MaxValue), NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "Fast", GroupName = "NinjaScriptStrategyParameters", Order = 1)]
public int Fast
{ get; set; }

[Range(1, int.MaxValue), NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "Slow", GroupName = "NinjaScriptStrategyParameters", Order = 0)]
public int Slow
{ get; set; }
```

... the **Slow** property will show first and the **Fast** property second.