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 traderqz, Yesterday, 12:06 AM
        11 responses
        27 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by PaulMohn, Today, 03:49 AM
        0 responses
        7 views
        0 likes
        Last Post PaulMohn  
        Started by inanazsocial, Today, 01:15 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by rocketman7, Today, 02:12 AM
        0 responses
        10 views
        0 likes
        Last Post rocketman7  
        Started by dustydbayer, Today, 01:59 AM
        0 responses
        4 views
        0 likes
        Last Post dustydbayer  
        Working...
        X