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

# OrderFillResolution

## Definition

Determines how strategy orders are filled during historical states.

Please see [Understanding Historical Fill Processing](https://ninjatrader.com/support/helpguides/nt8/?understanding_historical_fill_.htm) for general information on historical fill processing.

## Property Value

An enum value that determines how the strategy orders are filled. Default value is set to **OrderFillResolution.Standard**. Possible values are:

* **OrderFillResolution.Standard** - Faster - Uses the existing bar type and interval that you are running the backtest on to fill your orders.

* **OrderFillResolution.High** - More granular - Allows you to set a secondary bar series to be used as the price data to fill your orders. (See also [OrderFillResolutionType](/developer/desktop-sdk/references/strategy/orderfillresolutiontype) and [OrderFillResolutionValue](/developer/desktop-sdk/references/strategy/orderfillresolutionvalue))

## Syntax

`OrderFillResolution`

This property should ONLY be set from the [OnStateChange()](/developer/desktop-sdk/references/common/onstatechange) method during State.SetDefaults

## Examples

```csharp

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