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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        173 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        328 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        354 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        181 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X