NT8
Series<T> objects are useful for storing various types of values.
NT7
DataSeries objects are useful for storing various types of values.
Since they are linked to your historical bars object, you can store and link a value to each bar. This allows you the flexibility of accessing the values at any point in the future for further calculations or plotting.
Key concepts in this example:
- Creating objects that store data
- Storing and retrieving values from these objects
Important related documentation:
NinjaTrader 8
NinjaTrader 7
Import instructions:
NinjaTrader 8
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu Tools > Import > NinjaScript
- Select the downloaded file
NinjaTrader 7
- 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 and click Import.