Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

access to initial colors of DataSeries

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

    access to initial colors of DataSeries

    Hello, how to access programmatically to initial colors of the DataSeries ?

    That is to say, I don't waynt to repaint bars using CandleOutlineColor or BarColor, I just want to retrieve the colors set from the DataSeries field of the chart as shown here on my screenshot.

    Click image for larger version

Name:	initial colors from dataseries.jpg
Views:	1
Size:	130.1 KB
ID:	900251

    Thanks for your help

    #2
    Hello,

    This script here shows how you can have user defined color inputs:


    You will need to handle them different from standard inputs as they will need to be serialized

    It sounds like this is not what your looking for but for setting bar color or outline properties:



    Let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Hi Lance,

      Indeed that's not what I'm looking for.

      Let's say I would like to be able to write something like that : CandleOutlineColor = color of the Wick from DataSeries/ChartStyle panel (as shown on my initial picture)

      I'm trying to access that term in bold

      Comment


        #4
        Unfortunately I haven't been able to find a way to access this property without getting an Empty color to return.

        The only supported way I can think of would be to use your own color inputs and set the outline/candle color based on those inputs instead of the data series inputs.

        You may also try asking here: http://ninjatrader.com/support/forum...ad.php?t=22435
        LanceNinjaTrader Customer Service

        Comment


          #5
          Originally posted by rouckya View Post
          Hi Lance,

          Indeed that's not what I'm looking for.

          Let's say I would like to be able to write something like that : CandleOutlineColor = color of the Wick from DataSeries/ChartStyle panel (as shown on my initial picture)

          I'm trying to access that term in bold
          Answered that one here.

          ref: http://www.ninjatrader.com/support/f...hybrid&t=39499

          Remember: no official NT support for ChartControl matters.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          582 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          338 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X