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

# Synchronizing a DataSeries object to a secondary time frame

Series objects are useful for storing interim calculations to your strategy. Sometimes you will want to store calculations based on another time frame that is not the primary bar series in a strategy.

## Key concepts in this example

* **Creating** Series objects
* **Storing** and **retrieving** values from Series objects

## Important related documentation

* [AddDataSeries()](/developer/desktop-sdk/references/common/adddataseries)
* [Series Class](/developer/desktop-sdk/references/common/iseriest/seriest)

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

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