![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2010
Location: Kansas
Posts: 142
Thanks: 4
Thanked 9 times in 5 posts
|
I have succeed in creating a Ninja 7 indicator that creates a "moving average channel" (using DrawRegion) with semi-opaque gray channel between the SMA High and SMA Low. (thanks to the forum threads!!!)
I cannot however, seem to create a place in 'Parameters' or 'Plots' for a way to change the color of the channel. I tried creating a public entry to return a System.Drawing.Color value....but that has not worked. Can you point me to an example of code where someone has created a way to select color from the "Indicators Screen" for the channel?? NOTE: I did successfully create upper and lower 'Plots" for line colors. |
|
|
|
| Tags |
| moving average channel |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change chart panel back color and bar color for a previous bar. | ackchan | General Programming | 5 | 03-09-2010 08:44 AM |
| Color for bars... | Alfred | Version 7 Beta General Questions & Bug Reports | 6 | 10-19-2009 03:14 PM |
| Color for background | anmir55 | General Programming | 6 | 12-29-2008 02:42 PM |
| background color | safetrading | Indicator Development | 2 | 12-19-2008 10:41 AM |
| Volume Color | NinjaTrader_Josh | NinjaScript File Sharing Discussion | 6 | 12-19-2007 08:36 AM |