Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Current day Volume ?

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

    Current day Volume ?

    Hi

    i try to call the current day volume like for example the current day low

    => CurrentDayOHL().CurrentLow[0]

    but for the volume...

    Can you help ?

    Thx

    #2
    Hello,

    You can use the VOL indicator to access the volume for any specified bar. You can find more information about the VOL indicator method at the link below:

    http://www.ninjatrader.com/support/h...tml?volume.htm

    I'm thinking this may not be exactly what you are looking for, though. Can you please clarify exactly what data you are trying to access? Are you looking for cumulative volume for the entire day, or the highest/lowest volumes of the day, or something else, perhaps?
    Dave I.NinjaTrader Product Management

    Comment


      #3
      Hi Dave

      thx for the reply.

      i try to call the entire cumulative volume of the current day. For example at 3pm i try to call the current entire day volume.

      If a use VOL()[0], that call the entire cumulative volume of yesterday.

      If you can help...

      Comment


        #4
        Hello,

        There is not a cumulative daily volume indicator that comes pre-loaded with NinjaTrader, but you can access this data by adding a secondary data series with a one-day (or 1440 minute) interval in your code, then checking the VOL indicator on that secondary series. In this case, VOL(BarsArray[1])[0] would reference the current day's cumulative volume.

        Please let me know if I can assist further.
        Dave I.NinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X