Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACD paint arrows, calculate on bar close problem

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

    MACD paint arrows, calculate on bar close problem

    Hi there,

    this indicator puts an arrow on the chart for MACD up and down crosses.
    It works as intended only with calculate on bar close.
    Once you have it update in real-time, it puts the arrow on the charts for intra-bar crosses and leaves them on the chart even if there is no cross of the macd at the close of that bar.

    Could anybody help me so it paints the crosses at the close of the bar, yet updates the MACD real-time.

    Thanks
    Attached Files

    #2
    moonriver, you would then need to add logic to remove the drawn object when the condition is not present anymore - http://www.ninjatrader.com/support/h...drawobject.htm

    Comment


      #3
      Thanks Bertrand for the info.

      Unfortunately I have no Idea about coding, so I would need some serious instructions how to add this.
      If you or anybody else has some spare minutes to add this code, I would appreciate it very much.

      Comment


        #4
        Macd Arrows

        Hi moonriver, try this.
        The arrows will blink on/off during the bar, if the condition is true at the close of the bar, the arrow will stay.
        Attached Files

        Comment


          #5
          Hi there finnbjurvoll,

          finally no false signals anymore, thanks a lot !

          One question though, the intra-bar blinking of the arrows has not materialized, or do you mean that once the MACD un-crosses that the arrows disappear?

          Have a nice day

          Comment


            #6
            yw Yes, lets say that during the bar period the lines cross several times. Everytime the condition is true, the arrow will plot. If the codition still is true at the bar close, the arrow will stay, if not, it will dissepear.

            FinnBjurvoll

            Comment


              #7
              Got it.
              Thanks again for your help.

              Comment

              Latest Posts

              Collapse

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