Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

transparent property creating a bug

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

    transparent property creating a bug

    In version 6.5 for my Market Profile indicator I set the Color for down bars and color for up bars property to transparent to get rid of the bars so that I could see the indicator on the screen without bars behind.

    When I do that in NT7 I get a price scale between 0 and 0.25 for ES.

    Seems to be a bug...


    Bernard

    #2
    Originally posted by blarouche View Post
    In version 6.5 for my Market Profile indicator I set the Color for down bars and color for up bars property to transparent to get rid of the bars so that I could see the indicator on the screen without bars behind.

    When I do that in NT7 I get a price scale between 0 and 0.25 for ES.

    Seems to be a bug...


    Bernard

    This is expected.

    - In NT7, transparent plots or series are excluded from calculating the y-axis range
    - You workaround would be to use the panel fixed scale poperty settings OR
    - Set the color of the bars to the color of the background OR
    - Add two draw objects that define the upper/lower scale

    These are off the top of my head.
    RayNinjaTrader Customer Service

    Comment


      #3
      Josh


      Just following my instruction below :


      File
      New
      Chart
      ES 12-09
      New

      Choose ChartStyle : OHLC
      Color for down bars : Transparent
      Color for up bar : Transparent
      OK


      you should see a price range of 0 to 0.25 on the screen

      Bernard

      Comment


        #4
        Understood now, please see Ray's suggestions for the new options available to you.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Ray


          I solved my problem the following way :


          Just set the bar color to the background color.

          That's a way to get the same result...


          Bernard

          Comment


            #6
            Originally posted by NinjaTrader_Ray View Post
            This is expected.

            - In NT7, transparent plots or series are excluded from the y-axis range
            - You workaround would be to use the panel fixed scale poperty settings OR
            - Set the color of the bars to the color of the background OR
            - Add two draw objects that define the upper/lower scale

            These are off the top of my head.
            I recently had to deal with a similar situation in NT65 by attempting to push a transparent plot above/below the price action so the auto scaling would accommodate drawing object text and markers applied just above/below swing highs/lows. The challenges is drawing objects themselves don't engage the autoscaling, only price action and non-transparent plots will, and in NT65 there is no easy way to change colors bar-by-bar for these "chameleon plots" to deal with dynamic BackColor changes, etc just to get the scaling to work as desired. NT7 may hold more promise here, but ideally would like to set a y-offset for the autoscaling from the nearest price action or plot.

            Whitmark
            whitmark
            NinjaTrader Ecosystem Vendor - Whitmark Development

            Comment


              #7
              Originally posted by whitmark View Post
              The challenges is drawing objects themselves don't engage the autoscaling, only price action and non-transparent plots will
              Can you clarify what you mean when you say that draw objects will not engage autoscale?

              If I draw a square, set AutoScale for that square to true, then move the square up in my chart --> This sets the upper y-axis threshold.
              RayNinjaTrader Customer Service

              Comment


                #8
                Ray,

                Here is a quick and dirty exhibit and sample strategy to clarify my comments. Having a way to ensure the y-axis will scale to all drawn objects on the chart would be nice.

                Thanks.
                Attached Files
                whitmark
                NinjaTrader Ecosystem Vendor - Whitmark Development

                Comment


                  #9
                  Originally posted by whitmark View Post
                  Ray,

                  Here is a quick and dirty exhibit and sample strategy to clarify my comments. Having a way to ensure the y-axis will scale to all drawn objects on the chart would be nice.

                  Thanks.

                  I see, so the problem is just that the text gets clipped, correct?
                  RayNinjaTrader Customer Service

                  Comment


                    #10
                    Yes, in NT7 the text gets clipped and in NT65 the drawing markers get clipped too . . . I need to do more testing to see what NT7 will do.
                    whitmark
                    NinjaTrader Ecosystem Vendor - Whitmark Development

                    Comment


                      #11
                      Originally posted by whitmark View Post
                      Yes, in NT7 the text gets clipped and in NT65 the drawing markers get clipped too . . . I need to do more testing to see what NT7 will do.
                      If I manually draw text on the chart or if I call from a script in NT7, the top of the text does not get clipped.
                      RayNinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      626 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      359 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
                      562 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      567 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X