Multi-Colored Plots

<< Click to Display Table of Contents >>

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

Multi-Colored Plots

Previous page Return to chapter overview Next page

With multi-colored plots it becomes easy to pick out changes in value of your indicator from a quick glance.

 

Key concepts in this example

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 related documentation

AddPlot()
IsFalling()
IsRising()
PlotBrushes

 

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

 

SampleMultiColoredPlot_NT8.zip