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

Question on BarsPeriodType.Minute

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

    Question on BarsPeriodType.Minute

    Hi,

    I see in the documentation: https://ninjatrader.com/support/help...?builtfrom.htm
    that when build from BarsPeriodType.Minute, the onDataPoint() is updated every minute. Does this mean it updates every whole minute, for ex. 3:30, 3:31 etc. Or does the minute start from when it is added to the chart?


    #2
    Hello admiralpanda,

    The BuiltFrom means the custom bar type will be loading historical minute data for calculations and not historical tick data.

    The bar starts from the start of the whole minute based on the time stamps of the data.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      So, this is just for Historical data or Real time data too?
      Because even though I used BarsPeriodType.Minute, I still see the bars updating on each tick instead of updating after each minute.

      Comment


        #4
        Hello admiralpanda,

        The BuiltFrom specifies how the historical data is loaded. In real-time OnDataPoint will be updating for every tick (to adjust the High, Low, Close prices as the bar builds).
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Got it. Thank you!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by reynoldsn, Today, 07:23 AM
          6 responses
          18 views
          1 like
          Last Post reynoldsn  
          Started by reynoldsn, Today, 07:26 PM
          0 responses
          3 views
          0 likes
          Last Post reynoldsn  
          Started by ETFVoyageur, 05-07-2024, 07:05 PM
          12 responses
          76 views
          0 likes
          Last Post bltdavid  
          Started by Haiasi, 04-25-2024, 06:53 PM
          5 responses
          76 views
          0 likes
          Last Post alancurry  
          Started by ZeroKuhl, Today, 04:31 PM
          0 responses
          16 views
          0 likes
          Last Post ZeroKuhl  
          Working...
          X