Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 knowmad, Today, 03:52 AM
          2 responses
          26 views
          0 likes
          Last Post knowmad
          by knowmad
           
          Started by ETFVoyageur, Today, 07:05 PM
          0 responses
          7 views
          0 likes
          Last Post ETFVoyageur  
          Started by Orion815, 05-02-2024, 08:39 AM
          2 responses
          18 views
          0 likes
          Last Post Orion815  
          Started by suroot, 02-25-2017, 04:43 AM
          11 responses
          2,552 views
          0 likes
          Last Post Zilvercat  
          Started by Rogers101, 05-05-2024, 11:30 AM
          16 responses
          50 views
          0 likes
          Last Post Rogers101  
          Working...
          X