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 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 zstheorist, Today, 07:52 PM
            0 responses
            3 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            149 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Started by mattbsea, Today, 05:44 PM
            0 responses
            5 views
            0 likes
            Last Post mattbsea  
            Started by RideMe, 04-07-2024, 04:54 PM
            6 responses
            33 views
            0 likes
            Last Post RideMe
            by RideMe
             
            Started by tkaboris, Today, 05:13 PM
            0 responses
            5 views
            0 likes
            Last Post tkaboris  
            Working...
            X