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 judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          57 views
          0 likes
          Last Post DynamicTest  
          Started by ScottWalsh, Today, 06:52 PM
          4 responses
          36 views
          0 likes
          Last Post ScottWalsh  
          Started by olisav57, Today, 07:39 PM
          0 responses
          7 views
          0 likes
          Last Post olisav57  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          19 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          9 views
          0 likes
          Last Post cre8able  
          Working...
          X