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

Plots confused in modified MACD

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

    Plots confused in modified MACD

    I customize my indicators just to improve readability. Whenever I put 6 plots in an indicator, the indicator seems to confuse the plots. If I take away 2 plots (including codes and properties) the remaining 4 plots will be fine, I just can't explain it.

    Maybe you could have a quick look at the modified MACD below, and explain why the lower boundaries of the histogram are green? The code clearly instructs them to be red. There is something that I do not understand....

    Thank you for your help.
    Attached Files

    #2
    I suggest starting with a simple indicator with 6 plots and no custom logic, each plot on Close + n * TickSize (or something equivalent) to see how it works.

    Comment


      #3
      Thanks for you answer

      Maybe I was tired, there was just one bracket missing....

      Comment


        #4
        MACD with improved readability

        Here is the MACD with the modified histogram. I put it on a chart together with the MACD supplied with NT. I think it has better readability due to

        different colours for up- and down histogram
        the lining which accentuates the shape of the histogram
        a scaling factor that can be altered, if necessary

        Why not use something similar as a standard for NT?
        Attached Files

        Comment


          #5
          Thanks for your work. How about uploading it to the indicators/file sharing section?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by helpwanted, Today, 03:06 AM
          0 responses
          3 views
          0 likes
          Last Post helpwanted  
          Started by Brevo, Today, 01:45 AM
          0 responses
          7 views
          0 likes
          Last Post Brevo
          by Brevo
           
          Started by aussugardefender, Today, 01:07 AM
          0 responses
          5 views
          0 likes
          Last Post aussugardefender  
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          242 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Started by TraderG23, 12-08-2023, 07:56 AM
          9 responses
          384 views
          1 like
          Last Post Gavini
          by Gavini
           
          Working...
          X