Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't make this indicator work

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

    Can't make this indicator work

    I can't make this simple indicator work. I am trying to plot a dot, add a triangle and some text on a close below yesterdays close. What am I doing wrong. I have some similar code that works, but I can't see why this code doesn't work.

    Double Bogie
    Attached Files

    #2
    Hi Double Bogie,

    Please check you Log tab for errors, you are likely experiencing the situation described here - http://www.ninjatrader.com/support/f...ead.php?t=3170
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks, that was my problem. It is now working, but I have another question about this indicator. How can I make the triangles and text appear on each bar has has a dot?

      Double Bogie

      Comment


        #4
        Hi Double Bogie,

        Each time you draw a new one, it will overwrite the previous one because it has the same tag name, try this instead...
        Code:
        DrawTriangleUp("tag1" + CurrentBar, true, 0, Low[0] - TickSize, Color.Blue);
        TimNinjaTrader Customer Service

        Comment


          #5
          Thanks Tim,

          That worked.

          Double Bogie

          Comment

          Latest Posts

          Collapse

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