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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        142 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        81 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        125 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        120 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        98 views
        0 likes
        Last Post CarlTrading  
        Working...
        X