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

# Net Change Display

## Description

Displays net change on the chart.

## Syntax

`NetChangeDisplay(PerformanceUnit, NetChangePosition location)`

`NetChangeDisplay(ISeries\<double\> input, PerformanceUnit, NetChangePosition location)`

## Return Value

double

## Parameters

| Parameter             | Description                                                                                     |
| --------------------- | ----------------------------------------------------------------------------------------------- |
| **input**             | Indicator source data ([Series\<T>](/developer/desktop-sdk/references/common/iseriest/seriest)) |
| **PerformanceUnit**   | Format of the calculation of net change                                                         |
| **NetChangePosition** | Location to display net change on the chart                                                     |

## Examples

```csharp

// Runs on realtime since there is no historical data for this indicator
if (State == State.Historical)
	return;
else if (State >= State.Realtime)
{
	// Prints the current tick value of the net change
	var ncd = NetChangeDisplay(PerformanceUnit.Ticks, NetChangePosition.BottomRight);
	Print("The current Net Change value is " + ncd.NetChange);
}
```

This indicator only plots real-time. Historical values will print as 0.