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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        137 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        294 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        238 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        334 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        171 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X