Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enabling black Outline of Candles

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

    #16
    "candleoutline" in custom indicators which change bar colors

    Hi Ray,

    Let me explain it. I have a custom indicator, which colors the candles, based on something like a pattern. So,if the pattern happens, it colors the current candle with one particular color and if doesn't happen it colors the candle with a different color.

    But the problem is that,even though the indicator works properly and prints different colored candles, the "black outline of the candle" is getting lost. So, the candles are coming up without the "candle outline".

    And I am using the following code to draw a candle if condition meets,
    BarColor = Color.Green;
    and if condition does'nt meet,then
    BarColor = Color.Red;

    Can you tell me, if I need to add anything in the code, so that I see the "candle outline"?

    I have asked this in the past in Oct and I was told this feature is being released in 6.5 Beta, as there have been many custom indicator developers requesting it. Without the "candleoutline" the readability of charts is very poor.

    To see the poor readability, please load any regular chart in 6.5 Beta and make the "baroutline" color to "transparent" and widht to "0". You can see how poor the chart looks like and how it impacts readability.

    I appreciate your suggestion, in getting back the "candleoutline" in custom indicators which change bar colors.

    Thanks
    RK

    Comment


      #17
      Got it.

      The candle outline takes the color of the bar you set. The reason this is done is that if we left the outline color (lets just say to black) and a condition was met and you color the candle red....and this candle is a doji (open == close), you then do not get a candle body to color and the entire doji candle is really just an outline that is black and not red. Thus, you would come back and tell us that it doesn't work properly.

      I hope that makes sense.
      RayNinjaTrader Customer Service

      Comment


        #18
        Hi Ray,

        Thanks for replying back. I understand what you are saying. But I think it is best to give that option to Ninja programmers, so that they can decide whether they need candle outlines or not. Something like "candleoutline = true" or "candleoutline = false" variable in the custom indicators. Turning the candleoutline off by default really impacts readability of the charts very negatively.

        Isn't there anyway to get the outline back on the custom candles? Is there any method/function something like

        BarColor = Color.Green;
        BarOutline = Color.Black;

        I would appreciate if you can introduce this option/method to help Ninja programmers and help improve the readability of charts. Without the candle outlines, the charts look really very poor on readability.

        I think it would be good to give the Ninja programmer the option of turning on/off the candleoutline, instead of turning off the candle outline "off" by default.

        I would appreciate if you can provide an option to "turn on" the candleoutlines.

        Thanks
        RK

        Comment


          #19
          The next beta release of NT6.5 will include a new property -

          CandleOutlineColor

          If this property is not set, the outline will take the color of the BarColor property.
          RayNinjaTrader Customer Service

          Comment


            #20
            Thanks Ray. I appreciate it.

            Do you know when the next Beta update would be? I hope the candleoutline problem will be solved with this, so that Ninja programmers can turn this property on/off as per their needs.

            Thanks
            RK

            Comment


              #21
              Early next week. I am not sure what problem you are referring to but with this property you can programatically set the candle outline color.
              RayNinjaTrader Customer Service

              Comment


                #22
                Thanks Ray.

                Thanks
                RK

                Comment


                  #23
                  Hi Support or Ray,

                  Can you please confirm that in Ninja 6.5.0.4 release, you have released the feature "to enable candle outlines in indicators custom code", as said below.

                  Thanks
                  RK

                  Comment


                    #24
                    confirmed (please see release notes in help docs which always hold all new released features, just press F1 in NT6.5)

                    Comment


                      #25
                      Thanks Dierk for confirming.

                      Thanks
                      RK

                      Comment


                        #26
                        Wicks ticker

                        Real nice to have oulines in black, but how can I get the wicks ticker?

                        Anyone?


                        Thanks, jojotrader

                        Comment


                          #27
                          You can increase the outline width but not the wick by itself. See Chart Properties for Candle Outline.
                          RayNinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          606 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          352 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by Mindset, 02-09-2026, 11:44 AM
                          0 responses
                          105 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                          0 responses
                          560 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          561 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X