Using a secondary series as an input series for an indicator

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Educational Resources > Reference Samples > Indicator >

Using a secondary series as an input series for an indicator

Previous page Return to chapter overview Next page

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

 

Important related documentation

AddDataSeries()
AddPlot()
IsValidDataPoint()

 

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