NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Suggestions and Feedback > Suggestions And Feedback

Suggestions And Feedback New feature suggestions and feedback.

Reply
 
Thread Tools Display Modes
Old 01-02-2011, 10:40 AM   #1
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default Coloring chart data on Box and Line on Close charts

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;
        }
When I created a chart, applied this indicator and then stepped through the available chart styles, I got blue candles with chart style Candlestick, blue range bars with chart style HiLo and blue bars with chart style OHLC. But chart style Box and chart style Line on Close were not affected.
MikeInMA is offline  
Reply With Quote
Old 01-02-2011, 01:01 PM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

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...
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 01-02-2011, 01:30 PM   #3
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default

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.
MikeInMA is offline  
Reply With Quote
Old 01-03-2011, 07:12 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

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.
NinjaTrader_Bertrand is offline  
Reply With Quote
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
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


All times are GMT -6. The time now is 09:38 AM.