Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot() and DrawText not Working

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

    Plot() and DrawText not Working

    Hi,

    Is there any set of circumstances under which a Plot would not plot and DrawText would not draw? This is happening to me and I do have valid values. Thank you for any suggestions you may be able to provide.

    #2
    Hello,

    Thanks for the forum post.

    None that I'm aware of as long as you check in the control panel->log tab and there are no errors in the log tab and the indicator is applied correctly to the chart and correct panel.

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hi Brett,
      Thanks for your reply. There were no errors in the Log and the indicator compiled correctly. I will have to look into this further.

      Comment


        #4
        Hello,

        Thanks for the forum post.

        Ok, please send simpliefied code that has this issue to support at ninjatrader dot com REF: this forum post and we can take a look into if it is still giving you issues.

        I look forward to assisting you further.
        BrettNinjaTrader Product Management

        Comment


          #5
          Hi Brett,

          Thank you for the offer. I have resolved the DrawText issue. It was misidentification: two parts of the code were drawing the same text. Regarding the plot issue, I am resetting a past plot value. So I have the statement:

          TDown.Set(1, tValues[0]);

          So on current bar 13 I am resetting the value of TDown on bar 12. I have used Update() in the getter/setter public property for TDown to force the plot to update but this did not have any effect. Is there any way to force the plot to update?

          Comment


            #6
            Hello,

            Glad to hear.

            There is no way to force an update. The update will always occur on incoming tick.

            Please check out this multi color plot sample may help you with what your doing:



            I look forward to assisting you further.
            BrettNinjaTrader Product Management

            Comment


              #7
              Thanks Brett. I will check this out.

              Comment


                #8
                I have figured out the non plotting issue. It was related to the fact that I was using the default value of BarsRequired rather than setting my own value.The Plot() is working now. Thanks to Brett.

                Comment


                  #9
                  Hello,

                  Glad to hear that thanks for letting me know.
                  BrettNinjaTrader Product Management

                  Comment

                  Latest Posts

                  Collapse

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