Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

MACD updown: avg line to stay on top

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

    MACD updown: avg line to stay on top

    Hello. I have the MACD updown set as in the picture, How can I get the avg line to display on top of the bars? Thank you
    Attached Files

    #2
    Hello Alright_it,

    Thank you for your post.

    You will need to change the Z-Order of the chart object, to accomplish this

    - Select the chart object by left mouse clicking on it
    - Hold down the "Shift" key on your keyboard and roll the mouse scroll wheel to change the z-order of the object. The current position out of the total number of levels in the z-scale will be displayed.

    This will allow you to change the Z-Order on the fly if this happens again.
    Click here for more info on Z-Order(Read the section "How to change the z-order(paint order) of a chart object)
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for replying Cal, but probably I wasn't clear. I need that white line I marked with an arrow, which is the average line and is part of the MACD indicator, to plot on the foreground of the green-red bars, while currently it's on the background. The histogram bars and the lines on the MACD indicator are all on one level, so I'm afraid the trick you suggested doesn't work

      Comment


        #4
        Alright_it,

        Can you attach a copy of the MACDUpDown so that I can see how it is being coded?
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Of course! I'm glad you're taking the time and patience to look into it. I tried myself to move a few lines around with no good results LOL
          Attached Files

          Comment


            #6
            Alright_it,

            I went through and was not able to find the method of switching the Z Order internally for the script. You're best bet would be to have a second MACDUpDown and have it just plot the Avg and the other the MACD
            Cal H.NinjaTrader Customer Service

            Comment


              #7
              Cool! Simple and effective! Looks ok now. I should have thought about it myself. Thanks very much, Cal.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by f.saeidi, Today, 11:02 AM
              0 responses
              1 view
              0 likes
              Last Post f.saeidi  
              Started by geotrades1, Today, 10:02 AM
              3 responses
              11 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by rajendrasubedi2023, Today, 09:50 AM
              3 responses
              15 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by lorem, Today, 09:18 AM
              2 responses
              11 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by geddyisodin, Today, 05:20 AM
              4 responses
              30 views
              0 likes
              Last Post geddyisodin  
              Working...
              X