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

# OrderFillResolutionValue

## Definition

Determines the bars period interval value which will be used for historical fill processing.

This property will only be valid if the **OrderFillResolution** is set to [OrderFillResolution.High](/developer/desktop-sdk/references/strategy/orderfillresolution).

## Property Value

A int representing the interval used for the bars period during historical order processing. Default value is set to 1.

## Syntax

`OrderFillResolutionValue`

This property should ONLY be set from the `OnStateChange()` method during State.SetDefaults.

## Examples

```csharp
protected override void OnStateChange()
{
    if (State == State.SetDefaults)
    {                
        Name = "ExampleStrategy";

        // use one second bars for filling orders
        OrderFillResolution       = OrderFillResolution.High;                 
        OrderFillResolutionType   = BarsPeriodType.Second;
        OrderFillResolutionValue   = 1; 
    }      
}
```