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

calling built in indicators

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

    #16
    Hi , calculate was set to OnBarClose , changing it to On each tick or on price change gives me the extra value for the latest price in the chart. Since i am only interested in the end of day data, I assumed the On Bar Close will be the correct one , not sure why the On Bar close will not be correct, unless NT is considering the next day is the close of the bar ??

    Comment


      #17
      Hello HighTrade,

      When Calculate is On bar close, Close[0] refers to the most recent fully closed bar.

      When Calculate is On each tick, Close[0] refers to the currently building bar.

      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        I have connection to End of Day (Free) , and my indicator , is set for daily data, and the day is over, if I set the indicator calculate to On Bar Close, it misses the today's calculation. while setting it to each tick shows the data. ???!!

        Comment


          #19
          Hello HighTrade,

          Thank you for your response.

          The End Of Day feed will not close the current day until the next day closes, this is why you see the current day close with OnEachTick but not OnBarClose as the current day is not closed yet.

          Please let me know if you have any questions.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by PaulMohn, Today, 03:49 AM
          0 responses
          6 views
          0 likes
          Last Post PaulMohn  
          Started by inanazsocial, Today, 01:15 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by rocketman7, Today, 02:12 AM
          0 responses
          10 views
          0 likes
          Last Post rocketman7  
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          4 views
          0 likes
          Last Post dustydbayer  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          23 views
          0 likes
          Last Post trilliantrader  
          Working...
          X