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 benmarkal, Yesterday, 12:52 PM
                        3 responses
                        22 views
                        0 likes
                        Last Post NinjaTrader_Gaby  
                        Started by helpwanted, Today, 03:06 AM
                        1 response
                        18 views
                        0 likes
                        Last Post sarafuenonly123  
                        Started by Brevo, Today, 01:45 AM
                        0 responses
                        11 views
                        0 likes
                        Last Post Brevo
                        by Brevo
                         
                        Started by aussugardefender, Today, 01:07 AM
                        0 responses
                        6 views
                        0 likes
                        Last Post aussugardefender  
                        Started by pvincent, 06-23-2022, 12:53 PM
                        14 responses
                        244 views
                        0 likes
                        Last Post Nyman
                        by Nyman
                         
                        Working...
                        X