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

# AtmStrategyChangeStopTarget()

## Definition

Changes the price of the specified order of the specified ATM strategy.

## Method Return Value

Returns true if the specified order was found; otherwise false.

## Syntax

`AtmStrategyChangeStopTarget(double limitPrice, double stopPrice, string orderName, string atmStrategyId)`

## Parameters

| Parameter     | Description                                 |
| ------------- | ------------------------------------------- |
| limitPrice    | Order limit price                           |
| stopPrice     | Order stop price                            |
| orderName     | The order name such as "Stop1" or "Target2" |
| atmStrategyId | The unique identifier for the ATM strategy  |

## Examples

```csharp
protected override void OnBarUpdate()
{
     AtmStrategyChangeStopTarget(0, SMA(10)[0], "Stop1", "AtmIdValue");
}
```