NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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

Reference Samples Official NinjaScript reference code samples

Reply
 
Thread Tools Display Modes
Old 09-06-2007, 01:28 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: Multi-Colored Plots

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: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
Attached Images
File Type: png SampleMultiColoredPlot.PNG (36.7 KB, 2845 views)
File Type: png SampleMultiColoredPlot-Settings.PNG (19.5 KB, 1682 views)
Attached Files
File Type: zip SampleMultiColoredPlot.zip (3.9 KB, 570 views)
File Type: zip SampleMultiColoredPlot_NT7.zip (3.8 KB, 913 views)
Last edited by NinjaTrader_Josh; 09-06-2007 at 01:40 PM.
NinjaTrader_Josh is offline  
Reply With Quote
The following 3 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
Accessing Multiple Custom Indicator Plots within a Strategy whitmark Strategy Development 15 03-28-2009 04:21 PM
No Plots on revised TSI indicator Learning1 General Programming 3 08-21-2007 09:57 AM
More than 4 plots in an indicator? FireFly Indicator Development 6 07-12-2007 03:56 AM
Custon Indicator and multi-time frame scjohn Strategy Development 1 06-08-2007 11:34 PM
Multi Colored plots. higler General Programming 6 05-10-2007 12:05 PM


All times are GMT -6. The time now is 04:45 AM.