Synchronizing a DataSeries object to a secondary time frame

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Educational Resources > Reference Samples > Strategy >

Synchronizing a DataSeries object to a secondary time frame

Previous page Return to chapter overview Next 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

AddDataSeries()
Series 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 Tools > Import > NinjaScript
3.Select the downloaded file

 

SampleSyncSecondarySeries_NT8.zip