Working with Indicators

<< Click to Display Table of Contents >>

Navigation:  Operations > Charts >

Working with Indicators

Previous page Return to chapter overview Next page

Show/Hide Hidden Text

NinjaTrader comes with over 100 pre-built technical indicators, which can be added, removed and edited via the Indicators window. Indicators can be applied to charts, the SuperDOM, or Market Analyzer columns, and custom technical indicators can be created via the NinjaScript Editor.



tog_minus        Understanding the Indicators window

The Indicators window is used to add, remove and edit all indicators within a chart.


Accessing the Indicators Window from a Chart

There are multiple ways to access the Indicators window from a chart:


Left click on the Indicators icon in the chart toolbar
Right mouse click in the chart background when no chart object is selected, and select the Indicators menu item
Double click on an indicator within a chart
Right click on a highlighted indicator within a chart and select the Properties menu item
Use the default Ctrl + I Hot Key when the chart has focus.


Sections of the Indicators Window

The image below displays the three sections of the Indicators window.




1.The "Available" section displays a list of available indicators
2.The "Configured" section displays indicators currently applied to the chart or SuperDOM
3.The "Properties" section displays the selected indicator's parameters

tog_minus        How to add an indicator

Adding an Indicator

To add an indicator to a chart:


1.Open the Indicators window (see the "Understanding the Indicators window" section above)
2.Left mouse click on the indicator you want to add in the "Available" section, then press the add option in the "Configured" section. Alternatively, you can simply double click on the indicator in the "Available" section to add it to the "Configured" section.
3.The indicator will now be visible in the "Configured" section
4.The indicator's parameters will now be editable on the right side of the Indicators window (see the "How to edit an indicator" section below)

tog_minus        How to edit an indicator's parameters 

Editing an Indicator

You can customize any indicator from the Indicators window.


1.Open the Indicators window (see the "Understanding the Indicators window" section above)
2.Highlight the indicator you would like to edit from the list of applied indicators
3.Once highlighted, this indicator's parameters will be available to edit in the "Properties" section.


Chart Indicator Parameters

The following parameters are common to all indicators applied on a chart:




Input Series

Please see the "Indicator Input Series" section on this page for further information.


Sets the frequency at which the indicator performs its calculations. See the note below for information on each possible setting for this property


The label displayed on the chart. Leaving the field blank will remove the label from being displayed on the chart. Enclosing a label in quotations ("MyEMA" for example) will display the text within the quotations and exclude the system added trailing series information.

Maximum Bars Look Back

Determines the maximum number of bars the indicator can look back to perform calculations on historical data. This is set to 256 by default (the most memory-friendly setting), but it can be changed to "infinite" to allow for a greater look back period.

Auto Scale

When enabled, the indicator will be included in the chart panel's vertical automatic scaling


Sets the number of bars by which to displace the indicator plots

Display in Data Box

Enables or disables the inclusion of the indicator's plot values in the Data Box


Sets the panel in which the indicator is plotted. If you select "Same as input series," the indicator will be linked to the Input Series and automatically move if the Input Series is modified to a different panel.

Price marker(s)

When enabled, the indicator value is plotted in the axis selected under the "Scale Justification" property.

Scale justification

Sets the scale axis on which the indicator will be plotted within its selected panel. See the Navigating a chart page for additional information.


Enables or disables visibility of the indicator on the chart


Sets a variety of parameters, such as color, for the plots drawn by the indicator


Note: The "Calculate" property offers three possible settings to control how often an indicator performs its calculations:

On Bar Close - Run calculations once on the close of each bar of the Input Series
On Each Tick - Run calculations on each incoming tick of price data (CPU intensive)
On Price Change - Run calculations at the close of a bar if that bar's Close price differs from its Open price


Saving an Indicator's Parameters as Default

You can optionally save your customized indicator's parameters as default. Doing so will recall your customized settings the next time you add that specific indicator to a chart.


Please see the Saving Chart Defaults and Templates page for more information.


Indicator Input Series

The indicator Input Series dialogue allows you to select the Input Series for your indicator's calculations. To access this window, left mouse click within the "Input Series" field. You can then select the Close, High, Low, Median, Open, Typical, or Weighted price of any Data Series applied to the chart. Alternatively, you can choose another indicator as the input series. When you select another indicator as the input series, The "Properties" section of the Input Series dialogue will display properties related to the indicator being used as the Input Series, allowing you to configure it to your desired settings. This allows you to nest multiple indicators. Once you have selected the Input Series of your choice, left mouse click the OK button to exit the Input Series window.




In the image above, we can select one of the Data Series applied to the chart, or another indicator, for use as an indicator's Input Series.


Note: To take advantage of this feature NinjaScript indicators will need to implement the Input ISeries as their main data input.

tog_minus        How to remove an indicator

Removing an Indicator From a Chart

There are three ways to remove an indicator from a NinjaTrader chart:


Open the Indicators window (see the "Understanding the Indicators window" section above). Next, select an indicator from the "Configured" section, then select the Remove option, and finally press the OK button to exit the Indicators window.
Left mouse click to select the indicator on your chart, then press the Delete key on your keyboard.
Left mouse click to select the indicator on your chart, then right mouse click the indicator and select the Remove menu item.

tog_minus        Custom indicator development

In addition to the indicators that come pre-built with the NinjaTrader application, you also have the ability to create custom indicators of your own. For example, you could create your own custom multi-series indicators using price and volume data to apply to your charts or share with fellow traders.


For more information on using NinjaScript to build custom indicators please see the NinjaScript section of the user help guide, or click here to view NinjaScript indicator-development tutorials.

tog_minus        Working with indicators in Market Analyzer columns

Please see the Working With Columns page for information on working with indicators in Market Analyzer columns.

tog_minus        Working with indicators in the SuperDOM

Please see the SuperDOM Working with Indicators page for information on working with indicators in the SuperDOM.