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 Davide999, 05-18-2023, 03:55 AM
            4 responses
            554 views
            1 like
            Last Post kcwasher  
            Started by Stanfillirenfro, Today, 07:23 AM
            2 responses
            9 views
            0 likes
            Last Post Stanfillirenfro  
            Started by rexsole, Today, 08:39 AM
            2 responses
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by cmtjoancolmenero, Yesterday, 03:58 PM
            6 responses
            29 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by gbourque, Today, 06:39 AM
            2 responses
            14 views
            0 likes
            Last Post gbourque  
            Working...
            X