Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intra Bar charts update

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

    Intra Bar charts update

    NT system support two types of updates: on bar and on tick.
    If CalculateOnBarClose = true, OnBarUpdate() is called on the close of each bar otherwise it is called on each incoming tick.

    I would like not to calculate on every tick, but 5 or 10 times inside every bar.

    Do you have such setting or code sample?

    Thanks
    byi777

    #2
    Hello,

    Thanks for your note.

    Do you have a set bar type you would want to do this on/ or bar type you will be running this on?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hello, Bret,

      I have set chart to 3 min Candlestick, but would like to have updates to indicators, let's say, every 20 sec to avoid processor overload when calculating for every tick for active stock.

      Thanks
      byi777

      Comment


        #4
        Hello,

        This is unofficially supported.

        NinjTrader does not run of timers, only ticks received or COBC=True.

        Though other members have had sucess with using general c# timers added into code however I would be unable to assist with this. You would need to search the forum/general c# knowledge websites for this information.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

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