Working with Price Data
A Data Series represents a series of price data, which can be displayed on a chart using one of several Bar Types and Chart Styles. One or more Data Series will be applied to a new chart when it is created, and additional Data Series can be added, edited, or removed via the Data Series window.
The Data Series window is used to configure the Data Series within a chart, edit Data Series parameters, and save default values for different Period Types.
Accessing the Data Series Window
There are multiple ways to access the Data Series window:
Sections of the Data Series Window
The image below displays the four sections of the Data Series window.
Adding a Data Series
Multiple Data Series objects can be applied within a single chart. A new panel is automatically created for each Data Series added, unless the "Panel" property is manually changed to an existing panel. There are multiple ways to add a Data Series to a chart using the Data Series window:
The added Data Series will now be visible in the list in the "Applied" section, allowing you to change any parameters to desired values (see the "How to edit Data Series parameters" section below).
In the image above, we can use the Instrument Selector to add a recently viewed or pinned instrument, as well as any instruments in an Instrument List.
Editing a Data Series
A Data Series object's parameters are available to configure within the Data Series window once it has been added to a chart (see the "How to add a Data Series" section above).
To edit Data Series parameters:
Available Data Series parameters can be found in the list below:
Data Series Parameters
Saving Data Series Parameters as Default
You can optionally save your customized Data Series parameters as default. Defaults are saved based on the Interval Type selected. Saving defaults will recall your customized settings the next time you add a Data Series with that specific Interval Type to a chart. Please see the Saving Chart Defaults and Templates page for more information.
Data Series can be edited in several ways after being added to a chart.
Changing an Instrument via the Chart Toolbar
To change an instrument using the chart toolbar:
Using the Interval Selector
The Interval Selector can be used to change a Data Series interval directly from the chart toolbar. The Interval Selector comes pre-populated with commonly used intervals, but you can add additional intervals of your choice at any time. To access the Interval Selector, left mouse click the dropdown menu displaying the currently selected interval, located next to the instrument dropdown menu on the chart toolbar. To change the currently selected interval, select any of the values corresponding to the row labeled with your desired interval type. For example, to switch to a 5,000 Volume interval, click the "5000" option in the "Volume" row.
Adding Intervals to the Interval Selector
To add a new interval to the Interval Selector, first click the Configure option. The Configure window that appears is separated into two sections. In the "Intervals" section on the left side, you can select any existing Interval Type to view, add, edit, or remove any specific interval value set up for that interval type. In this section, you can add new Interval Types to the list via the add option, remove an Interval Type from the list via the remove option, or move Interval Types higher or lower in the list via the up and down options. In addition to the Interval Types already available, you can add Heiken Ashi, Kagi, Line Break, Point and Figure, or Renko to the list.
With an Interval Type selected in the "Intervals" section, you can manage the specific intervals available for that type in the "Values" section. To add a specific interval to the list for a specific Interval Type, select the add option. A window will appear, in which you can set the label and Data Series options to be used when that interval is selected:
1. The "Label" field sets the label that will be displayed in the Interval Selector for this interval. Entering "@VALUE" in this field will display the value entered in the "Value" field in the section below. Alternatively, you can enter any text or numbers in this field to label the interval.
2. The "Price Based On" field determines whether the underlying Data Series will be based upon the Ask, Bid, or Last price for the selected instrument.
3. The "Value" field sets the value to be used for the interval, based on the Interval Type.
Editing, Sorting, and Removing Intervals
To remove an interval from the list for a specific interval type, first select the interval, then select the remove option.
To edit the parameters of an existing interval, select the edit option instead.
To change the placement of an interval in the list, first select the interval you wish to move, then select the up or down options to move it higher or lower in the list. Moving an interval higher in the list will cause it to be displayed further to the left in the Interval Selector, and moving it lower in the list will cause it to be displayed further to the right.
The Configure window pictured above allows the addition, removal, or editing of interval types and specific intervals in the Interval Selector.
Changing and Adding Instruments and Intervals with the Keyboard
You can change instruments or intervals by pressing a letter or number key in a selected chart. When a letter or number key is pressed, the Instrument Overlay appears. Within the Instrument Overlay, you can change the instrument, interval, or chart type by using the formats in the table below and pressing the "Enter" key when finished. If multiple instruments are displayed in the chart, you can change a specific instrument by left mouse clicking to select it before typing. If no instrument is selected, the primary instrument is changed.
Removing a Data Series
There are three ways to remove a Data Series from your NinjaTrader chart:
If only one Data Series is applied to a chart, it cannot be removed. However, the original Data Series added to a chart can be removed if there is at least one other Data Series is still applied.