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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            47 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            23 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            33 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            51 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            42 views
            0 likes
            Last Post CarlTrading  
            Working...
            X