Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 FrancisMorro, Today, 03:24 AM
          0 responses
          1 view
          0 likes
          Last Post FrancisMorro  
          Started by Segwin, 05-07-2018, 02:15 PM
          10 responses
          1,769 views
          0 likes
          Last Post Leafcutter  
          Started by Rapine Heihei, 04-23-2024, 07:51 PM
          2 responses
          30 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by Shansen, 08-30-2019, 10:18 PM
          24 responses
          943 views
          0 likes
          Last Post spwizard  
          Started by Max238, Today, 01:28 AM
          0 responses
          10 views
          0 likes
          Last Post Max238
          by Max238
           
          Working...
          X