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 Segwin, 05-07-2018, 02:15 PM
              10 responses
              1,769 views
              0 likes
              Last Post Leafcutter  
              Started by Rapine Heihei, 04-23-2024, 07:51 PM
              2 responses
              30 views
              0 likes
              Last Post Max238
              by Max238
               
              Started by Shansen, 08-30-2019, 10:18 PM
              24 responses
              943 views
              0 likes
              Last Post spwizard  
              Started by Max238, Today, 01:28 AM
              0 responses
              10 views
              0 likes
              Last Post Max238
              by Max238
               
              Started by rocketman7, Today, 01:00 AM
              0 responses
              7 views
              0 likes
              Last Post rocketman7  
              Working...
              X