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 cmoran13, Yesterday, 01:02 PM
          0 responses
          23 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          16 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          160 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          94 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          147 views
          2 likes
          Last Post CaptainJack  
          Working...
          X