Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

make an indicator plot history too

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

    make an indicator plot history too

    Hello, where in a indicator code can you make it plot historically?
    Thanks

    #2
    Originally posted by newbie0101 View Post
    Hello, where in a indicator code can you make it plot historically?
    Thanks
    It should automatically.

    What are you looking at/or doing that isn't?

    Comment


      #3
      Hello newbie0101,

      Thank you for your post.

      What are you looking for as far as historical plotting? What are you seeing currently that is not expected? Are you using Historical checks in your code?

      Comment


        #4
        Originally posted by sledge View Post
        It should automatically.

        What are you looking at/or doing that isn't?
        Hi sledge and Patrick, thanks for responding.
        It has to do with a 3rd party indicator from long ago, vendor no more but do not want to post code for that fact was /is 3rd party don't need troubles. I can see the code but the indicator only plots from the current day/session and was looking for some advice on where to look in the code that makes an indicator only plot like that and hoping to change it to allow historical plotting as well.

        Comment


          #5
          Hello newbie0101,

          Thank you for your response.

          Check for any lines of code that will limit based on time, date, CurrentBar, FirstBarOfSession, or Session items.

          You can find information on FirstBarOfSession at the following link: http://www.ninjatrader.com/support/h...rofsession.htm
          Session items can be found at the following link: http://www.ninjatrader.com/support/h...t7/session.htm

          Comment


            #6
            Originally posted by NinjaTrader_PatrickH View Post
            Hello newbie0101,

            Thank you for your response.

            Check for any lines of code that will limit based on time, date, CurrentBar, FirstBarOfSession, or Session items.

            You can find information on FirstBarOfSession at the following link: http://www.ninjatrader.com/support/h...rofsession.htm
            Session items can be found at the following link: http://www.ninjatrader.com/support/h...t7/session.htm
            Hi Patrick, thanks but where in the code should I look for this?
            Looked at the links you posted, Thank you. Guessing cause I am not a coder is just confusing to me.
            Thanks in advance

            there are 800 lines of code??

            which section of code does this appear?

            Comment


              #7
              Hello newbie0101,

              Thank you for your response.

              This would be in the OnBarUpdate() method in most cases, more than likely in a condition at the beginning of the OnBarUpdate() method.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              558 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              324 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
              545 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              547 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X