![]() |
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 |
|
Member
Join Date: Nov 2007
Posts: 63
Thanks: 0
Thanked 0 times in 0 posts
|
I am looking for code samples on how to change the background color of the indicator window, e.g. change to green when RSI < 30, change to red when RSI > 80, leave white otherwise.
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Please look at these links. http://www.ninjatrader-support.com/H...BackColor.html
http://www.ninjatrader-support.com/H...kColorAll.html Code:
if (RSI(14, 3)[0] < 30)
BackColor = Color.Green;
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Background Color | BradB | Indicator Development | 26 | 11-18-2008 10:57 AM |
| Volume Bars color-coded according to Price change | Lost Trader | Indicator Development | 6 | 10-23-2007 11:15 PM |
| HMA (Hull Moving Average) color change | Mexie | Indicator Development | 13 | 10-21-2007 08:58 AM |
| How . . . do I change color of Ray . . . . | barrykish@comcast.net | Charting | 1 | 08-01-2007 02:24 PM |
| Chart Background Color | NinjaTrader_Josh | General Programming | 1 | 07-15-2007 03:36 PM |