Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Keeping drawing objects

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

    Keeping drawing objects

    Hello,Support and All,

    how do i retain the drawing objects after hitting F5?It shows the text markes on the developing bar,but after hitting F5- disappears.It turns that the DrawText command is under the FirstTickOfBar and intended to be used on COBC=false.

    Thank you

    #2
    This means that the text is not being plotted for historical bars. Probably you have coded it that way.

    You need to disclose the code, if you wish that someone searches for the bug.

    Comment


      #3
      Hello outsource,

      As Harry mentioned, we would need to take a look at what the code is doing.

      You mention it is in fact CalculatOnBarClose = False and FirstTickOfBar. Have you looked at using a historical check to draw objects when on historical data? - http://ninjatrader.com/support/helpG...historical.htm

      Comment


        #4
        Originally posted by Harry View Post
        This means that the text is not being plotted for historical bars. Probably you have coded it that way.
        No,it was someone else

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello outsource,

          As Harry mentioned, we would need to take a look at what the code is doing.

          You mention it is in fact CalculatOnBarClose = False and FirstTickOfBar. Have you looked at using a historical check to draw objects when on historical data? - http://ninjatrader.com/support/helpG...historical.htm
          Hi Patrick,

          i cannot disclose it here.It was custom written by some very kind guy with the big heart.I would send it to you via e-mail,if you could assist me.

          Comment


            #6
            Hello outsource,

            Thanks for your reply.

            You can email it to platformsupport[at]ninjatrader[dot]com and include a link to this forum topic in the message.

            Comment


              #7
              Originally posted by NinjaTrader_Brandon View Post
              Hello outsource,

              Thanks for your reply.

              You can email it to platformsupport[at]ninjatrader[dot]com and include a link to this forum topic in the message.

              Hello,Brandon,

              the code sent

              Thank you

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              574 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              333 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              553 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X