Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to get all ticks in a bar

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

    how to get all ticks in a bar

    Hi there, is there a way to code something like this:

    x=OnNewTick.price and or volume

    thanks

    #2
    Work with CalculateOnBarClose = false and every single tick will trigger an OnBarUpdate() event and then you can work from there to get the latest price and volume of every tick.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      So, the latest price is Close[0] then?

      Comment


        #4
        Correct. Close[0] on an open bar simply means the last tick.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Cool, thanks a lot

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          144 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          70 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          78 views
          0 likes
          Last Post PaulMohn  
          Working...
          X