NinjaTrader_Josh
10-09-2007, 02:56 AM
DataSeries 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.
The attached reference sample demonstrates the following concepts:
Creating DataSeries objects
Storing and retrieving values from DataSeries objects
Important methods and properties include:
Add() (http://www.ninjatrader.com/support/helpGuides/nt7/add3.htm)
DataSeries class (http://www.ninjatrader.com/support/helpGuides/nt7/dataseries_class.htm)
Set()
Other methods and properties of interest include:
Reset()
Import instructions:
Download the file contained in this thread to your PC desktop
From the Control Center window, select the menu File > Utilities > Import NinjaScript
Select the downloaded file
Note: This tutorial (http://www.ninjatrader.com/support/helpGuides/nt7/intermediate___historical_cust.htm)will also help in understanding DataSeries objects.
The attached reference sample demonstrates the following concepts:
Creating DataSeries objects
Storing and retrieving values from DataSeries objects
Important methods and properties include:
Add() (http://www.ninjatrader.com/support/helpGuides/nt7/add3.htm)
DataSeries class (http://www.ninjatrader.com/support/helpGuides/nt7/dataseries_class.htm)
Set()
Other methods and properties of interest include:
Reset()
Import instructions:
Download the file contained in this thread to your PC desktop
From the Control Center window, select the menu File > Utilities > Import NinjaScript
Select the downloaded file
Note: This tutorial (http://www.ninjatrader.com/support/helpGuides/nt7/intermediate___historical_cust.htm)will also help in understanding DataSeries objects.