NinjaScript > Educational Resources > Reference Samples > Strategy >

Synchronizing a DataSeries object to a secondary time frame

Print this Topic Previous pageReturn to chapter overviewNext page

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

Add()
DataSeries class

 

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 File > Utilities > Import NinjaScript
3.Select the downloaded file and click Import.

 

SampleSyncSecondarySeries_NT7.zip