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

# Using a secondary series as an input series for an indicator

Adding additional series to a script can be useful. You may also want to use this added data for an indicator's Input Series.

## Key concepts in this example

* Adding series
* Supplying a series object to an indicator as the input series parameter
* Plotting using data from two different series

## Important related documentation

* [AddDataSeries()](/developer/desktop-sdk/references/common/adddataseries)
* [AddPlot()](/developer/desktop-sdk/references/indicator/addplot)
* [IsValidDataPoint()](/developer/desktop-sdk/references/common/iseriest/isvaliddatapoint)

## Import instructions

1. Download the file contained in this Help Guide topic to your PC desktop
2. From the Control Center window, select the menu Tools > Import > NinjaScript
3. Select the downloaded file

[SampleSecondarySeriesAsInputSeries\_NT8.zip](https://ninjatrader.com/support/helpGuides/nt8/samples/SampleSecondarySeriesAsInputSeries_NT8.zip)