Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access candle properties (i.e. CandleOutlineBrush) from an addon

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

    Access candle properties (i.e. CandleOutlineBrush) from an addon

    From addon, i do access the current chart/chartcontrol objects, but i was unable to find a way, to change the candle colors & outline colors. any hints will be appreciated.

    #2
    Hello ttodua,

    There would not be a documented approach for accessing the CandleOutlineBrush from the ChartControl but it might be possible.

    Below is a link to a forum post with suggestions.
    https://ninjatrader.com/support/foru...457#post846457

    It would likely be easier to control this with an indicator added to a chart, or by using a custom chart style.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks
      I have created a copy (with new style enum), even downloaded (@imported) another chart-style from NT ecosystem, but none of them are added in `Chart Style` dropdown inside DataSeries window for charts.
      What I am missing?

      Comment


        #4
        Hello ttodua,

        Have you compiled and restarted NinjaTrader?

        Is the enum ID already be used?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          1) I wish to avoid restarting NT. after restarting, i confirm - it show up, but I want to avoid restarting NT. any way?
          2) enum is not used, i tried somethins like 573

          Comment


            #6
            Hello ttodua,

            I would not know a way around this.

            It would not be an enum issue if the chart style is showing after a restart.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            41 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            20 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            29 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            46 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            37 views
            0 likes
            Last Post CarlTrading  
            Working...
            X