PDA

View Full Version : Indicator: Multi-Colored Plots


NinjaTrader_Josh
09-06-2007, 02:28 PM
With multi-colored plots it becomes easy to pick out changes in value of your indicator from a quick glance.

The attached reference sample demonstrates the following key concepts:

Adding plots for each color used
Plotting a SMA line with three different colors depending on the rising, falling, or neutral nature of the line

Important methods and properties used include:

Add() (http://www.ninjatrader.com/support/helpGuides/nt7/add.htm)
Falling() (http://www.ninjatrader.com/support/helpGuides/nt7/falling.htm)
Rising() (http://www.ninjatrader.com/support/helpGuides/nt7/rising.htm)
PlotColors (http://www.ninjatrader.com/support/helpGuides/nt7/plotcolors.htm) (NT7 and above only)

Import instructions:

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