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
    BertrandNinjaTrader Customer Service

    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!
        BertrandNinjaTrader Customer Service

        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]

              BertrandNinjaTrader Customer Service

              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.
                  BertrandNinjaTrader Customer Service

                  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.
                      BertrandNinjaTrader Customer Service

                      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 geotrades1, Today, 10:02 AM
                        1 response
                        5 views
                        0 likes
                        Last Post NinjaTrader_BrandonH  
                        Started by ender_wiggum, Today, 09:50 AM
                        1 response
                        5 views
                        0 likes
                        Last Post NinjaTrader_Gaby  
                        Started by rajendrasubedi2023, Today, 09:50 AM
                        1 response
                        12 views
                        0 likes
                        Last Post NinjaTrader_BrandonH  
                        Started by bmartz, Today, 09:30 AM
                        1 response
                        10 views
                        0 likes
                        Last Post NinjaTrader_Erick  
                        Started by geddyisodin, Today, 05:20 AM
                        3 responses
                        27 views
                        0 likes
                        Last Post NinjaTrader_Gaby  
                        Working...
                        X