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

# GetAtmStrategyEntryOrderStatus()

## Definition

Gets the current state of the specified entry order.

If the method can't find the specified order, an empty array is returned.

## Method Return Value

A string\[] array holding three elements that represent average fill price, filled amount and order state.

## Syntax

`GetAtmStrategyEntryOrderStatus(string orderId)`

## Parameters

| Parameter   | Description                               |
| ----------- | ----------------------------------------- |
| **orderId** | The unique identifier for the entry order |

## Examples

```csharp
protected override void OnBarUpdate()
{
     string[] entryOrder = GetAtmStrategyEntryOrderStatus("orderId");

     // Check length to ensure that returned array holds order information
     if (entryOrder.Length > 0)
     {
         Print("Average fill price is " + entryOrder[0].ToString());
         Print("Filled amount is " + entryOrder[1].ToString());
         Print("Current state is " + entryOrder[2].ToString());
     }

```