Coloring a region

View as Markdown

Filling in a region between two DataSeries objects on your indicators can be beneficial for creating visual indicators. The colored regions allow for immediate recognition of various zones that can help a discretionary trader quickly identify what’s important and trade accordingly.

This reference sample demonstrates the following concept

  • Coloring a region between two DataSeries objects
  • Coloring a region between a DataSeries object and A double value

Important methods and properties used include

Other methods and properties of interest include

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

SampleDrawRegion_NT8.zip