Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to make candlesticks thinner?

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

    How to make candlesticks thinner?

    Thinest candlestick in NT6.5 are really "fat" :-) compare to other charting programs. Is there any script or indicator which make candlestick very thin? At least 2-3 pixels?

    #2
    Hi Candara, have your tried setting the width with Alt + Up/Dn keys? Thinnest would be a OHLC charts, unfortunately I am not aware of a custom script for this.

    Though you could try playing with 'CandleClear' - http://www.ninjatrader-support2.com/...e+clear&desc=1

    Comment


      #3
      Candara,

      Give the attached indicator a try. It is based on Gumphrie's CandleClear code.

      Please be advised of:

      1. This indicator MUST be the first indicator in panel 1.

      2. It does not handle HorizontalGridLineInterval = zero (ie. automatic grid line generation)
      Attached Files

      Comment


        #4
        Thanks for posting this and your advise hemlock!

        Comment


          #5
          Many thanks hemlock! Exactly what I need :-)

          Comment


            #6
            Hemlock would you help me a little more? How can change candles outline color? I really like black background.

            NT Support help I will appreciate too :-)

            Best regards
            Candara
            Last edited by Candara; 02-27-2009, 05:15 AM.

            Comment


              #7
              Candara, you can open the code and change those Color variables -

              Code:
              [SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2] Color outlineColorUp = Color.Black;
              [/SIZE][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2] Color outlineColorDown = Color.Black;[/SIZE][/SIZE]
              [SIZE=2][SIZE=2][/SIZE][/SIZE]


              For example for blue outline colors on up and down bars use -

              Code:
              [SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2] Color outlineColorUp = Color.Blue;
              [/SIZE][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2] Color outlineColorDown = Color.Blue;[/SIZE][/SIZE]
              [SIZE=2][SIZE=2][/SIZE][/SIZE]

              Comment


                #8
                Thank you Bertrand, it was so simple :-)
                Just one more question - how may I save indicator as other named one?


                Candara

                Comment


                  #9
                  Great - right click in the code and select 'Save as', then choose a new name, do your code changes and hit F5 to compile it. It can then be used on your charts.

                  Comment


                    #10
                    Cannot compile such file. Many errors occurs. For ex.: "The type 'NinjaTrader.Indicator.Indicator' already contains a definition for cacheThinCandles'"

                    Comment


                      #11
                      Candara, did you choose a new name for the file? You can also click on each error to see where it was found in your codes.

                      Comment


                        #12
                        Done! Indicator code should be changed in all places where 'new name' occurs.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by argusthome, 03-08-2026, 10:06 AM
                        0 responses
                        88 views
                        0 likes
                        Last Post argusthome  
                        Started by NabilKhattabi, 03-06-2026, 11:18 AM
                        0 responses
                        48 views
                        0 likes
                        Last Post NabilKhattabi  
                        Started by Deep42, 03-06-2026, 12:28 AM
                        0 responses
                        30 views
                        0 likes
                        Last Post Deep42
                        by Deep42
                         
                        Started by TheRealMorford, 03-05-2026, 06:15 PM
                        0 responses
                        34 views
                        0 likes
                        Last Post TheRealMorford  
                        Started by Mindset, 02-28-2026, 06:16 AM
                        0 responses
                        68 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Working...
                        X