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 CaptainJack, 05-29-2026, 05:09 AM
            0 responses
            218 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 05-29-2026, 12:02 AM
            0 responses
            135 views
            0 likes
            Last Post CaptainJack  
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            149 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            233 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            192 views
            0 likes
            Last Post CarlTrading  
            Working...
            X