Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Average Volume indicator

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

    Average Volume indicator

    Hi,

    Does anybody know of an indicator, that displays the volume of the current bar compared to an average volume of that same bar of the last e.g. five days?
    There probably will be divergences, if there is a holiday or roll-over.

    Thanks

    Thomas

    #2
    Hello td_910,

    Thanks for your post.

    I am not aware of an existing indicator that would pull and average the volume of a bar at a time over the last n days.

    If you wanted to create this yourself, we would suggest using Bars.GetBar(): https://ninjatrader.com/support/help...t8/?getbar.htm which would return the first bar number that matches the date/time specified. Using the bar number you could then subtract that from the current bar to provide a barsago value that you could use in Volume[]. Using a for loop you could increment the day to get bar from each of the previous n days.





    Comment


      #3
      Many Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      83 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      45 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      65 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      69 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      58 views
      0 likes
      Last Post CarlTrading  
      Working...
      X