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

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.
            BrandonNinjaTrader Customer Service

            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 andrewtrades, Today, 04:57 PM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by chbruno, Today, 04:10 PM
              0 responses
              6 views
              0 likes
              Last Post chbruno
              by chbruno
               
              Started by josh18955, 03-25-2023, 11:16 AM
              6 responses
              436 views
              0 likes
              Last Post Delerium  
              Started by FAQtrader, Today, 03:35 PM
              0 responses
              7 views
              0 likes
              Last Post FAQtrader  
              Started by rocketman7, Today, 09:41 AM
              5 responses
              19 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X