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

# IsUnmanaged

## Definition

Determines if the strategy will be using Unmanaged order methods.

Unmanaged order methods and **Managed order methods** cannot be used interchangeably. When **IsUnmanaged** is set to true, calling managed order methods such as **EnterLong()**, **SetStopLoss()**, etc., will generate an error which will be displayed on the **Log tab** of the Control Center.

## Property Value

This property returns true if the strategy will use Unmanaged order methods; otherwise, false. Default is set to false.

Warning: This property should ONLY be set from the **OnStateChange()** method during **State.SetDefaults** or **State.Configure**.

## Syntax

`IsUnmanaged`

## Examples

```csharp
protected override void OnStateChange()
{
    if (State == State.SetDefaults)
    {
        // Use Unmanaged order methods
        IsUnmanaged = true;
    }
}
```