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

# MoveAnchorX()

## Definition

Moves an anchor's x value from start point by a delta point amount.

## Method Return Value

This method does not return a value.

## Syntax

`\<chartanchor\>.MoveAnchorX(Point startPoint, Point deltaPoint, ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale)`

## Method Parameters

| Parameter        | Description                                      |
| ---------------- | ------------------------------------------------ |
| **startPoint**   | The chart anchor's original starting point value |
| **deltaPoint**   | The chart anchor's new point value to be updated |
| **chartControl** | A ChartControl representing the x-axis           |
| **chartScale**   | A ChartScale representing the y-axis             |

## Examples

```csharp
//move only the chart anchors x (bar/time) value
MyAnchor.MoveAnchorX(lastPoint, newPoint, chartControl, chartScale);
```