Using a secondary series as an input series for an indicator

View as Markdown

Adding additional series to a script can be useful. You may also want to use this added data for an indicator’s Input Series.

Key concepts in this example

  • Adding series
  • Supplying a series object to an indicator as the input series parameter
  • Plotting using data from two different series

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

SampleSecondarySeriesAsInputSeries_NT8.zip