![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jan 2007
Location: Turin, , Italy
Posts: 51
Thanks: 0
Thanked 0 times in 0 posts
|
Hi, can someone tell me how can I change the color of the line of zero for example an indicator of RSI?
If RSI > 0 is green else red, I have tried in various ways but I could not. Thanks |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Please see here: http://www.ninjatrader-support.com/v...ead.php?t=3227
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Jan 2007
Location: Turin, , Italy
Posts: 51
Thanks: 0
Thanked 0 times in 0 posts
|
Dierk Thanks for your response, I adopted the technique to change the color DataSeries (RSI), but with the zero line there are successful, how can I make?
Excuse my English but it is a machine translation! Greetings Mauro |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Sorry, not sure I follow.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
You need at least two dataseries plots per line. One for each color as shown in the reference sample.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Member
Join Date: Jan 2007
Location: Turin, , Italy
Posts: 51
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you very much Josh, I knew, but how do I create 2 Dataseries if the number zero is a variable and not a Dataseries or wrong?
The beauty is that I had done the indicator but then I broke the hard disk and now I can not remember how I had done more! However, thank you for your interest |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamically change Color | GuyFB | General Programming | 4 | 03-16-2008 10:12 PM |
| Change color on dom when live? | ct | SuperDOM and other Order Entry Windows | 5 | 01-23-2008 12:07 AM |
| Color Stochastic/2-line Indicator | jeremymgp | NinjaScript File Sharing Discussion | 11 | 01-05-2008 12:27 PM |
| Change background color | trader2be | Indicator Development | 1 | 11-13-2007 09:13 PM |
| How . . . do I change color of Ray . . . . | barrykish@comcast.net | Charting | 1 | 08-01-2007 02:24 PM |