NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Educational Resources > Reference Samples

Reference Samples Official NinjaScript reference code samples

Reply
 
Thread Tools Display Modes
Old 12-02-2007, 12:58 PM   #1
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default Indicator: Coloring a region

Reference sample for NinjaTrader 6.5.XXXX.X or greater.

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 for NinjaTrader 6.5.XXXX.X or greater:
  • 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
Attached Images
File Type: jpg SampleDrawRegion.jpg (48.6 KB, 1167 views)
Attached Files
File Type: zip SampleDrawRegion.zip (7.4 KB, 1164 views)
NinjaTrader_Josh is offline  
Reply With Quote
The following 2 users say thank you to NinjaTrader_Josh for this post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
coloring indicator based upon price parameters Thomas Indicator Development 10 08-28-2007 11:44 AM
Coloring Horizontally NinjaTrader_Josh Indicator Development 13 07-26-2007 09:27 PM
Dynamic plot coloring ThePatientOne Indicator Development 11 04-02-2007 01:06 AM
Up / Down Indicator Coloring whitmark Indicator Development 3 03-29-2007 06:25 AM
Coloring Historical bars Freddie Indicator Development 2 03-24-2007 04:08 AM


All times are GMT -6. The time now is 04:25 PM.