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 Hwop38, 05-04-2026, 07:02 PM
          0 responses
          161 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          311 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          245 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          350 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          179 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X