![]() |
|
|||||||
| Suggestions And Feedback New feature suggestions and feedback. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
|
I noticed that setting BarColor and CandleOutlineColor in an indicator has no effect when the chart style is either Box or Line on Close. To test I wrote a really simple indicator (creatively named MakeBlue) containing only the following code:
Code:
protected override void Initialize()
{
Overlay = true;
}
protected override void OnBarUpdate()
{
BarColor = Color.Blue;
CandleOutlineColor = Color.Blue;
}
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Mike, thanks for testing and reporting in, I believe expected as those styles would have no outline - but we'll take a look into it...
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
|
Box style in the Data Series window offers two colors to choose (up color and down color) as well as two outlines to define. So Box certainly appears to have both a bar color and an outline color. I can understand Line on Close working differently, though I can't see why an indicator shouldn't be able to get at that color, too.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Thanks for clarifying, I'm seeing it here for the Box style, too - perhaps it's due to the fact that the outline color is split up for those and thus it's being a different property. We'll look into, thanks for reporting in.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Indicator line multi-coloring for up/down | zlpele | General Programming | 8 | 08-15-2009 06:55 PM |
| Trying to rearrange order the pivots line up on Data Box | simpletrades | Indicator Development | 6 | 08-10-2009 01:27 PM |
| Data Box vs Charts | pjwinner | Charting | 2 | 01-06-2009 09:25 AM |
| Charts; Multi-line/word wrapped text box | SteveB | Suggestions And Feedback | 1 | 05-09-2008 06:15 AM |
| Removing a data line from the Data Box | hammall | Charting | 3 | 01-30-2008 10:02 AM |