Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarColor adjusting candle outline

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BarColor adjusting candle outline

    Using
    BarColor = BarUpColor;
    BarColor = BarDownColor;
    The colors are set by user.

    After the bar color is changed for the current bar then all the following candles are now using that color as the outline color until another bar color change is made then it continues to use the new color as the outline color.

    If I add "CandleOutlineColor = Color.Black;" after each BarColor= then the candle outline color stays black.

    However.. if I don't specifically change the Candle outline color then shouldn't it be using the default specified on the chart settings.. instead of picking up the BarColor= change??

    Example picture of this here: http://screencast.com/t/afNYGSx5

    Edit: Also noticed that if I hit F5 to refresh ... then I see the BarColor has correctly changed some of the bar colors.. but then after next Tick happens all changed bar colors go away (now back to default chart colors).. Hitting F5 again redisplays BarColor= changes. This only happens when using the CandleOutlineColor setting.
    Last edited by foxthorn; 10-19-2009, 07:25 PM.

    #2
    For your edit message, any errors in Control Center logs?

    When working with BarColor, the way it worked in 6.5 and same in 7 here is that if you only call BarColor it will change the whole bar to that color including outline. You will need to specify CandleOutlineColor on every single bar you change colors for.

    Just so I understand correctly, are you saying that if you only set BarColor = Color.Red for instance to a single bar on the chart, all bars afterwards will have an outline color of red too?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Yes you are correct... Look at my screen shot.
      Dark Blue is the default up and down color for the candle bars(as set in the chart properties).
      You will see that I change bar color to Red and Green on some of the bars.
      You will see the dark blue bars (ones which I didn't change color of) have the outline color of the previous bar that I had changed the color on.

      I did try using ChartOutline on every bar that I also did a BarColor on however as I said in my previous Edit... when I used it all coloring went away on next tick unless I hit F5 then it shows good until next tick again.

      Comment


        #4
        foxthorn,

        We have isolated an issue around this area which should also cover the issues you are seeing. Thank you.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        82 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        43 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Working...
        X