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 kinfxhk, 07-13-2026, 10:18 AM
            0 responses
            34 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 09:50 AM
            0 responses
            29 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 07:21 AM
            0 responses
            36 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-11-2026, 02:11 AM
            0 responses
            33 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by SalmaTrader, 07-07-2026, 10:26 PM
            0 responses
            143 views
            0 likes
            Last Post SalmaTrader  
            Working...
            X