Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACD with colours

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

    MACD with colours

    Hello. Would it be possible for someone to code a MACD with green bars above 0 and red bars below 0? I only found a MACD Up/Down where the colour changes on each up/down tick. Thanks to whoever will take the challenge.

    #2
    Originally posted by alright_it View Post
    Hello. Would it be possible for someone to code a MACD with green bars above 0 and red bars below 0? I only found a MACD Up/Down where the colour changes on each up/down tick. Thanks to whoever will take the challenge.
    You could check this Mac indicator.

    Comment


      #3
      Thanks for replying. I have it already and it doesn't do what I need. This one too changes the colour when the next tick is up or down, while I need green bars above 0 and red bars below 0.

      Comment


        #4
        Then you would need modify this code to suit your needs, Level 6 in our indicator coding tutorials would introduce the needed methods - http://www.ninjatrader-support.com/H...verview18.html

        Comment


          #5
          Thank you, Bertrand, I got what I was looking for in another forum. I'm quite happy with it, but you opened my mind to the coding feature in Ninja. I will have a better look at your suggestion.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          648 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          108 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          572 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          573 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X