Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What replaced UpColor and DownColor?

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

    What replaced UpColor and DownColor?

    What is the NT 8 recommended way to programatically make the candle colors transparent?
    In NT 7, I used this: ChartControl.UpColor = Color.Transparent.
    Same question applies for other candle artifacts like wick, bar outline.

    Thanks,
    Gary

    #2
    What replaced: ChartControl.ChartStyle.Pen.Color

    I found upBrush and downBrush.
    Still can't find the equivilent of:
    ChartControl.ChartStyle.Pen.Color or
    ChartControl.ChartStyle.Pen2.Color

    Any suggestions?

    Gary

    Comment


      #3
      Wrong about upBrush, downBrush

      My bad. upBrush/downBrush are not Ninja fields (mine oops).

      Back to question: How to programatically change all the elements of a candle to be transparent?

      Gary

      Comment


        #4
        There is a ChartBars object which contains this information:

        Code:
        ChartBars.Properties.ChartStyle.UpBrush = Brushes.Transparent;
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, Today, 06:46 AM
        0 responses
        9 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, Yesterday, 05:21 PM
        0 responses
        14 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        15 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        82 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        48 views
        0 likes
        Last Post PaulMohn  
        Working...
        X