Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

bars to wide

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

    #16
    Originally posted by hemlock View Post
    Exit and re-enter NT7 and make sure to recompile.
    Noob question - how to recompile script file?

    Comment


      #17
      Just compile any indicator or strategy and all NinjaScript will be recompiled.

      Comment


        #18
        Thank you hemlock!

        Comment


          #19
          For NT7 you can symply open ChartSyles.cs in your bin\Custom\Type folder with any text editor.

          Find line #388. It should look like this:

          return (int) (1 + 2 * (barWidth) + 2 * Pen.Width);

          replace it with:

          return (int) (1 + 2 * (barWidth - 1) + 2 * Pen.Width);

          Recompile any indicator and restart NT.

          You will beable to have 1 pixel wide candles.
          Last edited by roonius; 03-02-2010, 03:51 PM.

          Comment


            #20
            Thank you roonius, it works great!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            607 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            353 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