Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

chart data on top of indicators ?

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

    chart data on top of indicators ?

    Hallo
    How can i put chart data over indicator data ?

    Thank for your time

    #2
    Hi yoyager, please see this short video here for how to change the so called ZOrder on your charts :

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks for replying
      I already know about zOrder
      The problem is that i have 1728 objects on one chart and data series is the last one.
      Also once i changed zOrder with shift-wheel and set it to 1, after refresh it moved back to the end.

      Comment


        #4
        Can you try changing the indicator code Initialize() and adding ZOrder = -1 to it? This would move all indicator plots behind, thus you had the price series on top as you desire.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          This would be nice.
          How can i use zorder into initialize ?
          (in a way that there would be no need to insert it for every object)

          Comment


            #6
            Ok
            I found it, no need to reply
            Thanks

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              Can you try changing the indicator code Initialize() and adding ZOrder = -1 to it? This would move all indicator plots behind, thus you had the price series on top as you desire.
              For me, this seems to have no effect. I am trying to highlight individual price bars by drawing rectangles behind them. I have ZOrder=-1 set in Initialize() but the rectangles are still being drawn on top of the price bars.

              Is ZOrder something that works only for plots and not objects?
              -A

              Comment


                #8
                Originally posted by anachronist View Post
                For me, this seems to have no effect. I am trying to highlight individual price bars by drawing rectangles behind them. I have ZOrder=-1 set in Initialize() but the rectangles are still being drawn on top of the price bars.

                Is ZOrder something that works only for plots and not objects?
                -A
                Z-order most definitely works for Rectangles.

                See this post that I made some time back, which has pictures demonstrating it. http://www.ninjatrader.com/support/f...58&postcount=6

                Comment


                  #9
                  Originally posted by koganam View Post
                  Z-order most definitely works for Rectangles.
                  I certainly don't doubt you. I wonder why it isn't working for me then.

                  My indicator is in a different panel with DrawOnPricePanel=true, I'm not using candlesticks but regular OHLC bars, and the indicator also sets BarColor. I can initialize ZOrder=-1 or -1000 or 100 or any value at all, but the rectangles still appear on top of the price bars.

                  Setting ZOrder=-1 has one adverse effect: It renders any BarColor setting non-functional. When I set ZOrder to -1, I can't set the BarColors. If I comment it out I still can't set them until I delete and re-load the indicator from the chart.

                  -A

                  Comment


                    #10
                    Setting ZOrder=-1 has one adverse effect: It renders any BarColor setting non-functional. When I set ZOrder to -1, I can't set the BarColors.
                    I have same issue.

                    this.ZOrder = 0; //that is works fine for me
                    fx.practic
                    NinjaTrader Ecosystem Vendor - fx.practic

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Spiderbird, Today, 12:15 PM
                    1 response
                    6 views
                    0 likes
                    Last Post NinjaTrader_ChristopherJ  
                    Started by FrazMann, Today, 11:21 AM
                    1 response
                    6 views
                    0 likes
                    Last Post FrazMann  
                    Started by lorem, Yesterday, 09:18 AM
                    5 responses
                    18 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by cmtjoancolmenero, Yesterday, 03:58 PM
                    12 responses
                    42 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by geddyisodin, Yesterday, 05:20 AM
                    8 responses
                    52 views
                    0 likes
                    Last Post NinjaTrader_Gaby  
                    Working...
                    X