Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

candleoutlinecolor

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

    candleoutlinecolor

    Support,

    In ninjascript, how can one retrieve the candleoutline color, can one do like:

    tempoutlinecolor = ChartControl.ChartStyle.CandleOutlineColor;

    I tried the above but it was giving error.

    In ninjascript, when one colors bars, it automatically turnsoff the "CandleOutlineColor" for that bar. Is there anyway to turnit on by default in ninjascript?

    --
    Shooter

    #2
    shooter,

    Use of ChartControl is not supported, but for accessing outline color you can try using this: http://www.ninjatrader-support.com/H...lineColor.html

    If you color the bar you need to also color the outline.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      contrary to User Guide? candle outline color

      The documentation says: "* If you set the BarColor property and the CandleOutlineColor property is not set, the outline color will take the color set by the BarColor property."

      ...but it doesn't

      and you write, "If you color the bar you need to also color the outline. "

      what am I missing?

      Please anser the following too:
      How do I get the outline color that is in the chart property?
      Attached Files

      Comment


        #4
        Not sure what you mean. If you only do BarColor, the whole bar including the outline will become that color. If you want a separate outline color then you need to also use CandleOutlineColor. Accessing the chart property is not supported.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          Not sure what you mean. If you only do BarColor, the whole bar including the outline will become that color. If you want a separate outline color then you need to also use CandleOutlineColor. Accessing the chart property is not supported.
          so you are saying that the documentation is not correct?

          Comment


            #6
            saroj, no there's a simple distinction made: what is supported in the documents or reference sample is supported by us, the rest can be used, but could potentially break code in future versions of NinjaTrader so adaptations might be needed to continue using this script then.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            566 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X